Android.mk
author Sam Lantinga <slouken@libsdl.org>
Mon, 30 Jan 2012 20:09:56 -0500
changeset 329 e4417618b1a6
parent 261 7190c696a035
child 378 f83e70f2ec6c
permissions -rw-r--r--
Updated Android Makefile for SDL2
     1 LOCAL_PATH := $(call my-dir)
     2 
     3 include $(CLEAR_VARS)
     4 
     5 LOCAL_MODULE := SDL2_image
     6 
     7 LOCAL_CFLAGS := -I$(LOCAL_PATH)/../jpeg -I$(LOCAL_PATH)/../png -I$(LOCAL_PATH)/../SDL/include \
     8 	-DLOAD_JPG -DLOAD_PNG -DLOAD_BMP -DLOAD_GIF -DLOAD_LBM \
     9 	-DLOAD_PCX -DLOAD_PNM -DLOAD_TGA -DLOAD_XCF -DLOAD_XPM \
    10 	-DLOAD_XV
    11 
    12 LOCAL_SRC_FILES := $(notdir $(filter-out %/showimage.c, $(wildcard $(LOCAL_PATH)/*.c)))
    13 
    14 LOCAL_SHARED_LIBRARIES := SDL2
    15 
    16 LOCAL_STATIC_LIBRARIES := png jpeg
    17 
    18 LOCAL_LDLIBS := -lz
    19 
    20 include $(BUILD_SHARED_LIBRARY)