8285a11a26
In SquirrelBindings.h use #define USE_SQUIRREL 1 to enable squirrel git-svn-id: http://mc-server.googlecode.com/svn/trunk@76 0a769ca7-a7f5-676a-18bf-c427514a06d6
19 lines
410 B
Makefile
19 lines
410 B
Makefile
SQUIRREL= ..
|
|
|
|
OUT= $(SQUIRREL)/lib/libsqplus.a
|
|
INCDIRS= -I$(SQUIRREL)/include -I. -Iinclude
|
|
|
|
ALLSRCS = $(wildcard *.cpp)
|
|
WIN32SRCS = $(wildcard *Win32*)
|
|
SRCS = $(filter-out $(WIN32SRCS),$(ALLSRCS))
|
|
|
|
sqplus:
|
|
# g++ -fno-rtti -c $(SRCS) $(INCDIRS)
|
|
g++ -O3 -fno-rtti -Os -c $(SRCS) $(INCDIRS)
|
|
ar rc $(OUT) *.o
|
|
rm *.o
|
|
|
|
|
|
#g++ -O3 -fno-rtti -Os -c $(SRCS) $(INCDIRS)
|
|
#g++ -ggdb -fno-rtti -c $(SRCS) $(INCDIRS)
|