Changed directory structure to contain less symlinks so dependencies will get recalculated correctly by make
This commit is contained in:
@@ -8,7 +8,7 @@ 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/include \
|
||||
LOCAL_CFLAGS := -I$(LOCAL_PATH)/../sdl-$(SDL_VERSION)/include \
|
||||
-DSDL_JAVA_PACKAGE_PATH=$(SDL_JAVA_PACKAGE_PATH) \
|
||||
-DSDL_CURDIR_PATH=\"$(SDL_CURDIR_PATH)\"
|
||||
|
||||
@@ -16,7 +16,7 @@ LOCAL_CPP_EXTENSION := .cpp
|
||||
|
||||
LOCAL_SRC_FILES := sdl_main.c
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := sdl application
|
||||
LOCAL_SHARED_LIBRARIES := sdl-$(SDL_VERSION) application
|
||||
LOCAL_LDLIBS := -llog
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
Reference in New Issue
Block a user