makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. ## --------------------------------------------------------------------
  2. ## file name: makefile
  3. ## comment: launch
  4. ## create date: 2014��04��02��
  5. ## author:
  6. ## copywrite: sininm game
  7. ## --------------------------------------------------------------------
  8. FIRST_TARGET_NAME=t_shm
  9. OUTPUT_NAME=testallshm
  10. OUTPUT_SUFFIX=
  11. include ../makefile_path.in
  12. #make command define
  13. include ../makefile.in
  14. #engine mod modify
  15. include ../makefile_engine_mod.in
  16. DIRS := ./
  17. DIRS := ./test/
  18. DIRS += ../shm/
  19. CPPFILES := $(foreach dir,$(DIRS),$(FIND_CPPFILES))
  20. CFILES := $(foreach dir,$(DIRS),$(FIND_CFILES))
  21. # share_header
  22. #switch flag
  23. #USE_PTHREAD = 1
  24. #include path
  25. INCLUDE_PATH := -I$(SHM_HEADER_PATH)
  26. INCLUDE_PATH += -I./test/
  27. #implicit link dll
  28. IMPORT_LIB := -lrt
  29. #modify compile flag
  30. CFLAGS := $(filter-out -fvisibility=hidden,$(CFLAGS))
  31. CPPFLAGS := $(filter-out -fvisibility=hidden,$(CPPFLAGS))
  32. CPPFLAGS := $(filter-out -fvisibility-inlines-hidden,$(CPPFLAGS))
  33. #modify macro define
  34. LINK_TYPE = $(LINK_EXE)
  35. #domake
  36. include ../makefile.do