Fix JNI build

This commit is contained in:
twinaphex 2014-01-12 15:25:30 +01:00
parent 11b686a5dd
commit 9642e819c6

View File

@ -17,8 +17,10 @@ ifeq ($(TARGET_ARCH),mips)
LOCAL_CFLAGS += -DANDROID_MIPS
endif
INCFLAGS = -I../ -I../engine
LOCAL_SRC_FILES += $(wildcard ../*.cpp) $(wildcard ../engine/*.cpp) $(wildcard ../*.c)
LOCAL_CXXFLAGS += -O2 -Wall -ffast-math -fexceptions -DGLES -DANDROID
LOCAL_CXXFLAGS += -O2 -Wall -ffast-math -fexceptions -DGLES -DANDROID $(INCFLAGS)
LOCAL_CFLAGS += $(INCFLAGS)
LOCAL_LDLIBS += -lz -llog -lGLESv2
include $(BUILD_SHARED_LIBRARY)