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
slouken@257
     1
LOCAL_PATH := $(call my-dir)
slouken@257
     2
slouken@257
     3
include $(CLEAR_VARS)
slouken@257
     4
slouken@257
     5
LOCAL_MODULE := SDL_image
slouken@257
     6
slouken@258
     7
LOCAL_CFLAGS := -I$(LOCAL_PATH)/../jpeg -I$(LOCAL_PATH)/../png -I$(LOCAL_PATH)/../SDL/include \
slouken@260
     8
	-DLOAD_JPG -DLOAD_PNG -DLOAD_BMP -DLOAD_GIF -DLOAD_LBM \
slouken@260
     9
	-DLOAD_PCX -DLOAD_PNM -DLOAD_TGA -DLOAD_XCF -DLOAD_XPM \
slouken@260
    10
	-DLOAD_XV
slouken@257
    11
slouken@261
    12
LOCAL_SRC_FILES := $(notdir $(filter-out %/showimage.c, $(wildcard $(LOCAL_PATH)/*.c)))
slouken@257
    13
slouken@257
    14
LOCAL_SHARED_LIBRARIES := SDL
slouken@257
    15
slouken@257
    16
LOCAL_STATIC_LIBRARIES := png jpeg
slouken@257
    17
slouken@257
    18
LOCAL_LDLIBS := -lz
slouken@257
    19
slouken@257
    20
include $(BUILD_SHARED_LIBRARY)