22 lines
595 B
Makefile
22 lines
595 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := libsdl_native_helpers
|
|
|
|
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_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
|
|
|
|
LOCAL_SRC_FILES := repoNatives.c
|
|
|
|
LOCAL_SHARED_LIBRARIES :=
|
|
LOCAL_LDLIBS := -llog
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|