summaryrefslogtreecommitdiffstats
path: root/squirrel_3_0_1_stable/sqplus/Makefile
blob: 1bef398321db6d762aeb93e412412df7ecea7e8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)