diff options
Diffstat (limited to 'squirrel_3_0_1_stable/sqstdlib/Makefile')
-rw-r--r-- | squirrel_3_0_1_stable/sqstdlib/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/squirrel_3_0_1_stable/sqstdlib/Makefile b/squirrel_3_0_1_stable/sqstdlib/Makefile new file mode 100644 index 000000000..10f6384ea --- /dev/null +++ b/squirrel_3_0_1_stable/sqstdlib/Makefile @@ -0,0 +1,41 @@ +SQUIRREL= ..
+
+
+OUT= $(SQUIRREL)/lib/libsqstdlib.a
+INCZ= -I$(SQUIRREL)/include -I. -Iinclude
+
+OBJS= \
+ sqstdblob.o \
+ sqstdio.o \
+ sqstdstream.o \
+ sqstdmath.o \
+ sqstdsystem.o \
+ sqstdstring.o \
+ sqstdaux.o \
+ sqstdrex.o
+
+SRCS= \
+ sqstdblob.cpp \
+ sqstdio.cpp \
+ sqstdstream.cpp \
+ sqstdmath.cpp \
+ sqstdsystem.cpp \
+ sqstdstring.cpp \
+ sqstdaux.cpp \
+ sqstdrex.cpp
+
+
+sq32:
+ gcc -O2 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
+ ar rc $(OUT) *.o
+ rm *.o
+
+sqprof:
+ gcc -O2 -pg -fno-exceptions -fno-rtti -pie -gstabs -g3 -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
+ ar rc $(OUT) *.o
+ rm *.o
+
+sq64:
+ gcc -O2 -m64 -fno-exceptions -D_SQ64 -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
+ ar rc $(OUT) *.o
+ rm *.o
|