Android.mk
author Sam Lantinga <slouken@libsdl.org>
Sat, 28 Jan 2012 10:51:24 -0500
changeset 326 fa6129ca8503
parent 261 7190c696a035
child 329 e4417618b1a6
permissions -rw-r--r--
Fixed SDL_image header location
     1 LOCAL_PATH := $(call my-dir)
     2 
     3 include $(CLEAR_VARS)
     4 
     5 LOCAL_MODULE := SDL_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 := SDL
    15 
    16 LOCAL_STATIC_LIBRARIES := png jpeg
    17 
    18 LOCAL_LDLIBS := -lz
    19 
    20 include $(BUILD_SHARED_LIBRARY)