SQUIRREL= ..


OUT= $(SQUIRREL)/lib/libsqstdlib.so
INCZ= -I$(SQUIRREL)/include -I. -Iinclude

SRCS= \
	sqstdblob.cpp \
	sqstdio.cpp \
	sqstdstream.cpp \
	sqstdmath.cpp \
	sqstdsystem.cpp \
	sqstdstring.cpp \
	sqstdaux.cpp \
	sqstdrex.cpp
	
	
sq32:
	${CC} ${CFLAGS}  -fno-rtti -Wall -c $(SRCS) $(INCZ)
	${CC} -fno-common -shared -o $(OUT) *.o
	rm *.o

sqprof:
	${CC} ${CFLAGS} -pg -fno-rtti -pie -gstabs -g3 -Wall -c $(SRCS) $(INCZ)
	${CC} -fno-common -shared -o $(OUT) *.o
	rm *.o
sq64:
	${CC} ${CFLAGS} -D_SQ64 -fno-rtti -Wall -c $(SRCS) $(INCZ)
	${CC} -fno-common -shared -o $(OUT) *.o
	rm *.o


syntax highlighted by Code2HTML, v. 0.9.1