Skip to content

Commit

Permalink
Added SDL_image to application include path, removed Java-specific de…
Browse files Browse the repository at this point in the history
…fines from application makefile
  • Loading branch information
pelya committed May 11, 2010
1 parent 500d845 commit a8002c5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions alienblaster/project/jni/application/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ APP_SUBDIRS := $(patsubst $(LOCAL_PATH)/%, %, $(shell find $(LOCAL_PATH)/src -ty

# Add more subdirs here, like src/subdir1 src/subdir2

LOCAL_CFLAGS := -DSDL_JAVA_PACKAGE_PATH=$(SDL_JAVA_PACKAGE_PATH) \
-DSDL_CURDIR_PATH=\"$(SDL_CURDIR_PATH)\" \
$(foreach D, $(APP_SUBDIRS), -I$(LOCAL_PATH)/$(D)) \
LOCAL_CFLAGS := $(foreach D, $(APP_SUBDIRS), -I$(LOCAL_PATH)/$(D)) \
-I$(LOCAL_PATH)/../sdl/include \
-I$(LOCAL_PATH)/../sdl_mixer \
-I$(LOCAL_PATH)/../sdl_image \
-I$(LOCAL_PATH)/../stlport/stlport \


Expand All @@ -25,7 +24,7 @@ LOCAL_SRC_FILES += $(foreach F, $(APP_SUBDIRS), $(addprefix $(F)/,$(notdir $(wil

LOCAL_SHARED_LIBRARIES := sdl sdl_mixer tremor stlport

LOCAL_LDLIBS := -lGLESv1_CM -ldl -llog
LOCAL_LDLIBS := -lGLESv1_CM -ldl -llog -lz

include $(BUILD_SHARED_LIBRARY)

0 comments on commit a8002c5

Please sign in to comment.