FIRST_TARGET_NAME=lib_shm OUTPUT_NAME=libbgshm OUTPUT_SUFFIX=.a include ../makefile_path.in #make command define include ../makefile.in #engine mod modify include ../makefile_engine_mod.in DIRS := ../shm/ CPPFILES := $(foreach dir,$(DIRS),$(FIND_CPPFILES)) CFILES := $(foreach dir,$(DIRS),$(FIND_CFILES)) #switch flag #USE_PTHREAD = 1 #include path INCLUDE_PATH := -I../shm/ #implicit link dll #modify compile flag #CFLAGS += CPPFLAGS += -Wno-sign-compare #modify macro define #MACRO_DEFINE += CFLAGS := $(filter-out -fvisibility-inlines-hidden -fvisibility=hidden,$(CFLAGS)) CPPFLAGS := $(filter-out -fvisibility-inlines-hidden -fvisibility=hidden,$(CPPFLAGS)) CPPFLAGS := $(filter-out -fvisibility-inlines-hidden -fvisibility=hidden,$(CPPFLAGS)) LINK_TYPE = $(ARCHIVE) #domake include ../makefile.do