cscg22-gearboy

CSCG 2022 Challenge 'Gearboy'
git clone https://git.sinitax.com/sinitax/cscg22-gearboy
Log | Files | Refs | sfeed.txt

Android.mk (390B)


      1LOCAL_PATH := $(call my-dir)
      2
      3include $(CLEAR_VARS)
      4
      5LOCAL_MODULE := main
      6
      7SDL_PATH := ../SDL
      8
      9LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include
     10
     11# Add your application source files here...
     12LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.c \
     13	YourSourceHere.c
     14
     15LOCAL_SHARED_LIBRARIES := SDL2
     16
     17LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog
     18
     19include $(BUILD_SHARED_LIBRARY)