You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
502 B
30 lines
502 B
SQUIRREL= ..
|
|
|
|
|
|
OUT= $(SQUIRREL)/lib/libsqstdlib.a
|
|
INCZ= -I$(SQUIRREL)/include -I. -Iinclude
|
|
|
|
SRCS= \
|
|
sqstdblob.cpp \
|
|
sqstdio.cpp \
|
|
sqstdstream.cpp \
|
|
sqstdmath.cpp \
|
|
sqstdsystem.cpp \
|
|
sqstdstring.cpp \
|
|
sqstdaux.cpp \
|
|
sqstdrex.cpp
|
|
|
|
|
|
sq32:
|
|
gcc -O2 -fno-rtti -Wall -c $(SRCS) $(INCZ)
|
|
ar rc $(OUT) *.o
|
|
rm *.o
|
|
|
|
sqprof:
|
|
gcc -O2 -pg -fno-rtti -pie -gstabs -g3 -Wall -c $(SRCS) $(INCZ)
|
|
ar rc $(OUT) *.o
|
|
rm *.o
|
|
sq64:
|
|
gcc -O2 -D_SQ64 -fno-rtti -Wall -c $(SRCS) $(INCZ)
|
|
ar rc $(OUT) *.o
|
|
rm *.o
|