makefile 855 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. FIRST_TARGET_NAME=lib_shm
  2. OUTPUT_NAME=libbgshm
  3. OUTPUT_SUFFIX=.a
  4. include ../makefile_path.in
  5. #make command define
  6. include ../makefile.in
  7. #engine mod modify
  8. include ../makefile_engine_mod.in
  9. DIRS := ../shm/
  10. CPPFILES := $(foreach dir,$(DIRS),$(FIND_CPPFILES))
  11. CFILES := $(foreach dir,$(DIRS),$(FIND_CFILES))
  12. #switch flag
  13. #USE_PTHREAD = 1
  14. #include path
  15. INCLUDE_PATH := -I../shm/
  16. #implicit link dll
  17. #modify compile flag
  18. #CFLAGS +=
  19. CPPFLAGS += -Wno-sign-compare
  20. #modify macro define
  21. #MACRO_DEFINE +=
  22. CFLAGS := $(filter-out -fvisibility-inlines-hidden -fvisibility=hidden,$(CFLAGS))
  23. CPPFLAGS := $(filter-out -fvisibility-inlines-hidden -fvisibility=hidden,$(CPPFLAGS))
  24. CPPFLAGS := $(filter-out -fvisibility-inlines-hidden -fvisibility=hidden,$(CPPFLAGS))
  25. LINK_TYPE = $(ARCHIVE)
  26. #domake
  27. include ../makefile.do