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BFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǿ<EFBFBD><C7BF><EFBFBD>ʹ<EFBFBD><CAB9>$(TO_PROJECT_ROOT)<29><><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD>
|
|
|
|
|
;TOPS<50><53>Ӧ<D7BC>ã<EFBFBD><C3A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̬<EFBFBD><CCAC><EFBFBD><EFBFBD>
|
|
|
|
|
INCLUDE_TMK3=$(TO_PROJECT_ROOT)/MakeInclude/TG3_APP_Arm.TMK3
|
|
|
|
|
|
|
|
|
|
;Ԥ<><D4A4><EFBFBD>崮<EFBFBD><E5B4AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MakeFile<6C><65>ʱ<EFBFBD><CAB1>ֱ<EFBFBD>ӷ<EFBFBD><D3B7><EFBFBD>MakeFile<6C><65>ǰ<EFBFBD><C7B0>
|
|
|
|
|
;<3B><>ʽ<EFBFBD><CABD>PRE_DEFINE=STRING<4E><47><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MakeFile<6C><65>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>"PRE_DEFINE="<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>з<EFBFBD>ע<EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><D6B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MakeFileǰ<65><C7B0>
|
|
|
|
|
;<3B><><EFBFBD>磺PRE_DEFINE=AAA=BBB<42><42><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>AAA=BBB<42><42>MakeFile<6C><65>
|
|
|
|
|
;<3B><><EFBFBD><EFBFBD>ʹ<EFBFBD>ö<EFBFBD><C3B6><EFBFBD>PRE_DEFINE<4E><45><EFBFBD><EFBF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FBFBD><CABD>MakeFile<6C><65><EFBFBD><EFBFBD><EFBFBD>ݳ<EFBFBD><DDB3><EFBFBD>˳<EFBFBD><CBB3>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD>С)<29><><EFBFBD><EFBFBD>
|
2010-09-06 18:35:24 +08:00
|
|
|
|
DEFINES=-DCCX_UNDER_UPHONE ;<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>õ<EFBFBD><C3B5>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD>ꡣע<EAA1A3>⣺ITOPS<50>Լ<EFBFBD><D4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>趨<EFBFBD><E8B6A8><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʴ<EFBFBD><CAB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD><D3A6><EFBFBD>Լ<EFBFBD><D4BC><EFBFBD><EFBFBD>еĶ<D0B5><C4B6>弴<EFBFBD><E5BCB4>
|
|
|
|
|
DEFINES=-D__TG3_PURE_DLL__ ;<3B><><EFBFBD>ɵ<EFBFBD><C9B5>Ǵ<EFBFBD><C7B4><EFBFBD>̬<EFBFBD>⣨<EFBFBD><E2A3A8>˼<EFBFBD>ǣ<EFBFBD><C7A3><EFBFBD><EFBFBD><EFBFBD>TOPSӦ<53>ã<EFBFBD><C3A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>TCOM<4F><4D><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2010-09-06 11:10:00 +08:00
|
|
|
|
;DEFINES=-D__TCOM_SUPPORT__ ;<3B><><EFBFBD>ɵ<EFBFBD><C9B5><EFBFBD>T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D><EFBFBD><EFBFBD>
|
|
|
|
|
INCLUDE_PATH=-I./ -I./Res -I./include -I$(TO_PROJECT_ROOT)/Include/ThirdParty/libxml2
|
|
|
|
|
INCLUDE_PATH=-I$(TO_PROJECT_ROOT)/Include/ThirdParty/iconv
|
|
|
|
|
INCLUDE_PATH=-I$(TO_PROJECT_ROOT)/Include/ThirdParty/libpng
|
2010-09-26 14:55:28 +08:00
|
|
|
|
INCLUDE_PATH=-I$(TO_PROJECT_ROOT)/Include/ThirdParty/libjpeg
|
2010-09-06 11:10:00 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;<3B><><EFBFBD>ӵĿ<D3B5><C4BF>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD>ö<EFBFBD><C3B6><EFBFBD>LIBS<42><53><EFBFBD><EFBFBD>Ҳ<EFBFBD><D2B2><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9>LIBS1<53><31>LIBS2<53>ȷ<EFBFBD>ʽ<EFBFBD><CABD>MakeFile<6C><65><EFBFBD><EFBFBD><EFBFBD>ݳ<EFBFBD><DDB3><EFBFBD>˳<EFBFBD><CBB3>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD>С)<29><><EFBFBD><EFBFBD>
|
|
|
|
|
;Ӧ<>ö<EFBFBD><C3B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ⡣ע<E2A1A3>⣺ITOPS<50>Լ<EFBFBD><D4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҿ<EFBFBD><D2BF><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><C2B7>Ҳ<EFBFBD>Ѿ<EFBFBD><D1BE><EFB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
|
|
;<3B><><EFBFBD><EFBFBD>Ҫ<EFBFBD>ų<EFBFBD><C5B3><EFBFBD>Ŀ¼<C4BF><C2BC><EFBFBD>ļ<EFBFBD>ҲҪ<D2B2><D2AA><EFBFBD><EFBFBD>"./"
|
|
|
|
|
;<3B><><EFBFBD><EFBFBD>ʹ<EFBFBD>ö<EFBFBD><C3B6><EFBFBD>EXCLUDEFILE<4C><45><EFBFBD><EFBFBD>Ҳ<EFBFBD><D2B2><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9>EXCLUDEFILE1<45><31>EXCLUDEFILE2<45>ȷ<EFBFBD>ʽ<EFBFBD><CABD>MakeFile<6C><65><EFBFBD><EFBFBD><EFBFBD>ݳ<EFBFBD><DDB3><EFBFBD>˳<EFBFBD><CBB3>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ִ<EFBFBD>С)<29><><EFBFBD><EFBFBD>
|
2010-09-08 09:32:04 +08:00
|
|
|
|
EXCLUDEFILE= ./textures/CCPVRTexture.cpp
|
|
|
|
|
EXCLUDEFILE= ./platform/uphone/NewDeleteOp.cpp
|
2010-10-11 16:48:44 +08:00
|
|
|
|
EXCLUDEFILE= ./platform/win32/
|
2010-11-10 16:29:52 +08:00
|
|
|
|
EXCLUDEFILE= ./platform/android/
|
2010-12-03 11:08:30 +08:00
|
|
|
|
EXCLUDEFILE= ./platform/iphone/
|