annotate android/testproject/jni/Android.mk @ 4712:8319aa8fa4dc

Code cleanup
author Paul Hunkin <paul@bieh.net>
date Tue, 29 Jun 2010 01:30:11 +1200
parents ed040b480a9f
children
rev   line source
4704
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
1 LOCAL_PATH := $(call my-dir)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
2
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
3 include $(CLEAR_VARS)
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
4
4712
8319aa8fa4dc Code cleanup
Paul Hunkin <paul@bieh.net>
parents: 4711
diff changeset
5 LOCAL_MODULE := sdltest
4704
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
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
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
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
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
12
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
13 LOCAL_SRC_FILES := \
4711
ed040b480a9f - Restructured threads and application structure.
Paul Hunkin <paul@bieh.net>
parents: 4708
diff changeset
14 importgl.cpp \
ed040b480a9f - Restructured threads and application structure.
Paul Hunkin <paul@bieh.net>
parents: 4708
diff changeset
15 app-android.cpp \
4708
f3f65cb6a382 Added egl headers so we can use eglMakeCurrent()
Paul Hunkin <paul@bieh.net>
parents: 4704
diff changeset
16 lesson05.c \
4704
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
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
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
19
611d39792201 Added minimal test project
Paul Hunkin <paul@bieh.net>
parents:
diff changeset
20 include $(BUILD_SHARED_LIBRARY)