makefile 941 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. ## --------------------------------------------------------------------
  2. ## file name: makefile
  3. ## comment: common_module
  4. ## create date: 2014��04��02��
  5. ## author:
  6. ## copywrite: sininm game
  7. ## --------------------------------------------------------------------
  8. FIRST_TARGET_NAME=t_testshmdll
  9. OUTPUT_NAME=testshmdll
  10. OUTPUT_SUFFIX=.so
  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. CPPFILES := $(foreach dir,$(DIRS),$(FIND_CPPFILES))
  18. CFILES := $(foreach dir,$(DIRS),$(FIND_CFILES))
  19. # crossplatform
  20. # inner_header
  21. # share_header
  22. #switch flag
  23. #USE_PTHREAD = 1
  24. #include path
  25. INCLUDE_PATH := -I$(SHM_HEADER_PATH)
  26. INCLUDE_PATH += -I./
  27. #implicit link dll
  28. IMPORT_LIB := -lrt -ldl
  29. #modify compile flag
  30. #CFLAGS +=
  31. #CPPFLAGS +=
  32. #modify macro define
  33. #MACRO_DEFINE +=
  34. LINK_TYPE = $(LINK_SHARE)
  35. #domake
  36. include ../makefile.do