X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=libs%2Ftreestore%2FMakefile;fp=libs%2Ftreestore%2FMakefile;h=c489fff15710254277e2131455d41cb42309c93b;hb=40b8c9565fdfeaa75070a557e79d18b00ae51ca6;hp=cb9f7b30410caad9e184ec44f2a965025e170542;hpb=ab16e737cf21ee1746868e027448d02de00954f7;p=andemo diff --git a/libs/treestore/Makefile b/libs/treestore/Makefile index cb9f7b3..c489fff 100644 --- a/libs/treestore/Makefile +++ b/libs/treestore/Makefile @@ -8,10 +8,16 @@ ifeq ($(sys), mingw) endif ifeq ($(sys), android-arm64) obj = treestore.arm64.o text.arm64.o dynarr.arm64.o - lib = ../android/libtreestore.a + lib = ../android64/libtreestore.a + pic = -fPIC +endif +ifeq ($(sys), android-arm32) + obj = treestore.arm32.o text.arm32.o dynarr.arm32.o + lib = ../android32/libtreestore.a + pic = -fPIC endif -CFLAGS = -O3 +CFLAGS = -O3 $(pic) $(lib): $(obj) $(AR) rcs $@ $(obj) @@ -19,6 +25,9 @@ $(lib): $(obj) %.arm64.o: %.c $(CC) -o $@ $(CFLAGS) -c $< +%.arm32.o: %.c + $(CC) -o $@ $(CFLAGS) -c $< + %.w32.o: %.c $(CC) -o $@ $(CFLAGS) -c $<