12345678910111213141516171819202122232425262728293031 |
- ## --------------------------------------------------------------------
- ## file name: mk_engine_mod_def.in
- ## comment: ����ģ�����ʱ��Ҫ��һЩͨ������
- ## create date: 2017��06��07��
- ## author:
- ## copywrite: sininm game
- ## --------------------------------------------------------------------
- #modify compile flag
- ifneq ($(DEBUG),1)
- ifeq ($(USE_ASAN),1)
- CFLAGS += -fsanitize=address -fno-omit-frame-pointer
- CPPFLAGS += -fsanitize=address -fno-omit-frame-pointer
- LD_EXE_FLAGS += -fsanitize=address
- endif
- else
- CFLAGS += -fno-omit-frame-pointer
- CPPFLAGS += -fno-omit-frame-pointer
- #LD_EXE_FLAGS += -fsanitize=address
- endif
- #macro define
- MACRO_DEFINE += -D_TEST
- #memory pool
- ifeq ($(NO_USE_MEMPOOL),1)
- MACRO_DEFINE += -D_NO_USE_MEM_POOL
- endif
|