Moved all includes from LOCAL_CFLAGS to LOCAL_C_INCLUDES so it will work in Cygwin

This commit is contained in:
pelya
2011-02-02 14:28:16 +00:00
parent 38434ccb4c
commit a4cb94028c
31 changed files with 86 additions and 76 deletions

View File

@@ -8,9 +8,8 @@ ifndef SDL_JAVA_PACKAGE_PATH
$(error Please define SDL_JAVA_PACKAGE_PATH to the path of your Java package with dots replaced with underscores, for example "com_example_SanAngeles")
endif
LOCAL_CFLAGS := -I$(LOCAL_PATH)/../sdl-$(SDL_VERSION)/include \
-DSDL_JAVA_PACKAGE_PATH=$(SDL_JAVA_PACKAGE_PATH) \
-DSDL_CURDIR_PATH=\"$(SDL_CURDIR_PATH)\"
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../sdl-$(SDL_VERSION)/include
LOCAL_CFLAGS := -DSDL_JAVA_PACKAGE_PATH=$(SDL_JAVA_PACKAGE_PATH) -DSDL_CURDIR_PATH=\"$(SDL_CURDIR_PATH)\"
LOCAL_CPP_EXTENSION := .cpp