Mercurial > sdl-ios-xcode
annotate android/testproject/jni/Android.mk @ 4709:6dc26b9d8368
Tweaks to the libsdl side
author | Paul Hunkin <paul@bieh.net> |
---|---|
date | Fri, 18 Jun 2010 01:29:14 +1200 |
parents | f3f65cb6a382 |
children | ed040b480a9f |
rev | line source |
---|---|
4704 | 1 LOCAL_PATH := $(call my-dir) |
2 | |
3 include $(CLEAR_VARS) | |
4 | |
5 LOCAL_MODULE := sanangeles | |
6 | |
4708
f3f65cb6a382
Added egl headers so we can use eglMakeCurrent()
Paul Hunkin <paul@bieh.net>
parents:
4704
diff
changeset
|
7 SDL := /home/paul/Projects/gsoc/SDL-gsoc2010_android/ |
f3f65cb6a382
Added egl headers so we can use eglMakeCurrent()
Paul Hunkin <paul@bieh.net>
parents:
4704
diff
changeset
|
8 |
4704 | 9 LOCAL_CFLAGS := -DANDROID_NDK \ |
4708
f3f65cb6a382
Added egl headers so we can use eglMakeCurrent()
Paul Hunkin <paul@bieh.net>
parents:
4704
diff
changeset
|
10 -DDISABLE_IMPORTGL \ |
f3f65cb6a382
Added egl headers so we can use eglMakeCurrent()
Paul Hunkin <paul@bieh.net>
parents:
4704
diff
changeset
|
11 -I$(SDL)/include |
4704 | 12 |
13 LOCAL_SRC_FILES := \ | |
14 importgl.c \ | |
15 app-android.c \ | |
4708
f3f65cb6a382
Added egl headers so we can use eglMakeCurrent()
Paul Hunkin <paul@bieh.net>
parents:
4704
diff
changeset
|
16 lesson05.c \ |
4704 | 17 |
4708
f3f65cb6a382
Added egl headers so we can use eglMakeCurrent()
Paul Hunkin <paul@bieh.net>
parents:
4704
diff
changeset
|
18 LOCAL_LDLIBS := -lGLESv1_CM -ldl -llog -lSDL -lEGL -lgcc -L$(SDL) -L$(SDL)/build-scripts/android_libs/ |
4704 | 19 |
20 include $(BUILD_SHARED_LIBRARY) |