Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GPP=g++
- GCC=gcc
- OUTFILE="../mysql.so"
- COMPILE_FLAGS=-c -O3 -w -DLINUX -Wall -I../SDK/amx/ -m32
- all:
- $(GCC) $(COMPILE_FLAGS) ../SDK/amx/*.c
- $(GPP) $(COMPILE_FLAGS) ../SDK/*.cpp
- $(GPP) $(COMPILE_FLAGS) main.cpp
- $(GPP) $(COMPILE_FLAGS) source/*.cpp
- $(GPP) -O2 -fshort-wchar -shared -o $(OUTFILE) *.o ./mysql_lib/libmysqlclient.a -pthread -m32
- rm -f *.o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement