projects
/
andemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
android builds now include both 64 and 32bit in the APK
[andemo]
/
libs
/
anim
/
Makefile
diff --git
a/libs/anim/Makefile
b/libs/anim/Makefile
index
3260d3c
..
6f34ca3
100644
(file)
--- a/
libs/anim/Makefile
+++ b/
libs/anim/Makefile
@@
-8,10
+8,16
@@
ifeq ($(sys), mingw)
endif
ifeq ($(sys), android-arm64)
obj = anim.arm64.o track.arm64.o dynarr.arm64.o
endif
ifeq ($(sys), android-arm64)
obj = anim.arm64.o track.arm64.o dynarr.arm64.o
- lib = ../android/libanim.a
+ lib = ../android64/libanim.a
+ pic = -fPIC
+endif
+ifeq ($(sys), android-arm32)
+ obj = anim.arm32.o track.arm32.o dynarr.arm32.o
+ lib = ../android32/libanim.a
+ pic = -fPIC
endif
endif
-CFLAGS = -g -ffast-math -fno-strict-aliasing -I..
+CFLAGS = -g -ffast-math -fno-strict-aliasing $(pic) -I..
$(lib): $(obj)
$(lib): $(obj)
@@
-21,6
+27,9
@@
$(lib): $(obj)
%.arm64.o: %.c
$(CC) -o $@ $(CFLAGS) -c $<
%.arm64.o: %.c
$(CC) -o $@ $(CFLAGS) -c $<
+%.arm32.o: %.c
+ $(CC) -o $@ $(CFLAGS) -c $<
+
%.w32.o: %.c
$(CC) -o $@ $(CFLAGS) -c $<
%.w32.o: %.c
$(CC) -o $@ $(CFLAGS) -c $<