Counter Strike : Global Offensive Source Code
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

  1. SQUIRREL= ..
  2. OUT= $(SQUIRREL)/lib/libsqstdlib.a
  3. INCZ= -I$(SQUIRREL)/include -I. -Iinclude
  4. SRCS= \
  5. sqstdblob.cpp \
  6. sqstdio.cpp \
  7. sqstdstream.cpp \
  8. sqstdmath.cpp \
  9. sqstdsystem.cpp \
  10. sqstdstring.cpp \
  11. sqstdaux.cpp \
  12. sqstdrex.cpp
  13. sq32:
  14. gcc -O2 -fno-rtti -Wall -c $(SRCS) $(INCZ)
  15. ar rc $(OUT) *.o
  16. rm *.o
  17. sqprof:
  18. gcc -O2 -pg -fno-rtti -pie -gstabs -g3 -Wall -c $(SRCS) $(INCZ)
  19. ar rc $(OUT) *.o
  20. rm *.o
  21. sq64:
  22. gcc -O2 -D_SQ64 -fno-rtti -Wall -c $(SRCS) $(INCZ)
  23. ar rc $(OUT) *.o
  24. rm *.o