Makefile 479 B

12345678910111213141516171819202122
  1. SQUIRREL= ..
  2. OUT= $(SQUIRREL)/bin/sq
  3. INCZ= -I$(SQUIRREL)/include -I. -I$(SQUIRREL)/sqlibs
  4. LIBZ= -L$(SQUIRREL)/lib
  5. LIB= -lsquirrel -lsqstdlib
  6. OBJS= sq.o
  7. SRCS= sq.c
  8. sq32:
  9. g++ -O2 -fno-exceptions -fno-rtti -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB)
  10. sqprof:
  11. g++ -O2 -pg -fno-exceptions -fno-rtti -pie -gstabs -g3 -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB)
  12. sq64:
  13. g++ -O2 -m64 -fno-exceptions -fno-rtti -D_SQ64 -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB)