1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- ## --------------------------------------------------------------------
- ## file name: makefile
- ## comment: launch
- ## create date: 2014��04��02��
- ## author:
- ## copywrite: sininm game
- ## --------------------------------------------------------------------
- FIRST_TARGET_NAME=t_shm
- OUTPUT_NAME=testallshm
- OUTPUT_SUFFIX=
- include ../makefile_path.in
- #make command define
- include ../makefile.in
- #engine mod modify
- include ../makefile_engine_mod.in
- DIRS := ./
- DIRS := ./test/
- DIRS += ../shm/
- CPPFILES := $(foreach dir,$(DIRS),$(FIND_CPPFILES))
- CFILES := $(foreach dir,$(DIRS),$(FIND_CFILES))
- # share_header
- #switch flag
- #USE_PTHREAD = 1
- #include path
- INCLUDE_PATH := -I$(SHM_HEADER_PATH)
- INCLUDE_PATH += -I./test/
- #implicit link dll
- IMPORT_LIB := -lrt
- #modify compile flag
- CFLAGS := $(filter-out -fvisibility=hidden,$(CFLAGS))
- CPPFLAGS := $(filter-out -fvisibility=hidden,$(CPPFLAGS))
- CPPFLAGS := $(filter-out -fvisibility-inlines-hidden,$(CPPFLAGS))
- #modify macro define
- LINK_TYPE = $(LINK_EXE)
- #domake
- include ../makefile.do
|