mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-25 09:17:12 +01:00
347fe70432
Sylvain Since https://hg.libsdl.org/SDL/rev/6546daa45a02 SDL_android_main.c is empty and then produce a warning nativeInit does not exist and dont need to be mark undefined
19 lines
339 B
Makefile
19 lines
339 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := main
|
|
|
|
SDL_PATH := ../SDL
|
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include
|
|
|
|
# Add your application source files here...
|
|
LOCAL_SRC_FILES := YourSourceHere.c
|
|
|
|
LOCAL_SHARED_LIBRARIES := SDL2
|
|
|
|
LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|