summaryrefslogtreecommitdiffstats
path: root/squirrel_3_0_1_stable/sqplus/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'squirrel_3_0_1_stable/sqplus/Makefile')
-rw-r--r--squirrel_3_0_1_stable/sqplus/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/squirrel_3_0_1_stable/sqplus/Makefile b/squirrel_3_0_1_stable/sqplus/Makefile
new file mode 100644
index 000000000..1bef39832
--- /dev/null
+++ b/squirrel_3_0_1_stable/sqplus/Makefile
@@ -0,0 +1,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)