labyrinth
diff android/Makefile @ 8:d3f1f74067b0
ops, forgot to swapbuffers on the android side
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 04 May 2015 04:56:44 +0300 |
parents | b557812c45db |
children |
line diff
1.1 --- a/android/Makefile Mon May 04 02:46:35 2015 +0300 1.2 +++ b/android/Makefile Mon May 04 04:56:44 2015 +0300 1.3 @@ -25,11 +25,11 @@ 1.4 1.5 android_usr = $(NDK)/platforms/$(android_platform)/arch-arm/usr 1.6 android_inc = -I$(android_usr)/include -I$(native_app_glue_dir) 1.7 -android_libs = -llog -landroid -lEGL -lGLESv1_CM -lm 1.8 +android_libs = -llog -landroid -lEGL -lGLESv1_CM 1.9 1.10 -CFLAGS = -std=c99 -Wall -g -DAPP_NAME=\"$(name)\" \ 1.11 +CFLAGS = -std=c99 -Wall -g -DAPP_NAME=\"$(name)\" -march=armv7-a -mfloat-abi=softfp \ 1.12 $(android_inc) -I$(root)/src/android -I$(root)/src/gles $(incpaths) 1.13 -LDFLAGS = -Wl,--fix-cortex-a8 -Wl,-z,defs $(android_libs) $(libpaths) 1.14 +LDFLAGS = -Wl,--fix-cortex-a8 -Wl,-z,defs $(android_libs) $(libpaths) -lm 1.15 1.16 .PHONY: debug 1.17 debug: $(apk-debug) 1.18 @@ -51,7 +51,7 @@ 1.19 $(CC) -o $@ -shared $(obj) $(LDFLAGS) 1.20 1.21 ant_files = *.xml *.properties proguard-project.txt 1.22 -ant_dirs = bin libs res 1.23 +ant_dirs = bin libs res obj src 1.24 1.25 .PHONY: clean 1.26 clean: