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.

18 lines
412 B

  1. SQUIRREL= ..
  2. OUT= $(SQUIRREL)/lib/libsqplus.a
  3. INCDIRS= -I$(SQUIRREL)/include -I. -Iinclude
  4. ALLSRCS = $(wildcard *.cpp)
  5. WIN32SRCS = $(wildcard *Win32*)
  6. SRCS = $(filter-out $(WIN32SRCS),$(ALLSRCS))
  7. sqplus:
  8. # g++ -fno-rtti -c $(SRCS) $(INCDIRS)
  9. g++ -O3 -fno-rtti -Os -c $(SRCS) $(INCDIRS)
  10. ar rc $(OUT) *.o
  11. rm *.o
  12. #g++ -O3 -fno-rtti -Os -c $(SRCS) $(INCDIRS)
  13. #g++ -ggdb -fno-rtti -c $(SRCS) $(INCDIRS)