From 54dde76a8ac56d62be23b54b249def9c6b15120e Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Thu, 16 Mar 2023 00:44:22 +0000 Subject: [PATCH] Optimize for size sometimes. APKs are part of all. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4229 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bffe87a8..5238e04f 100644 --- a/Makefile +++ b/Makefile @@ -53,6 +53,7 @@ $(ANDROID_TARGETS): CFLAGS += --sysroot $(ANDROID_NDK)/toolchains/llvm/prebuilt/ $(ANDROID_TARGETS): LDFLAGS += --sysroot $(ANDROID_NDK)/toolchains/llvm/prebuilt/linux-x86_64/sysroot -fPIC $(DEBUG_TARGETS): CFLAGS += -DDEBUG -Og $(RELEASE_TARGETS): CFLAGS += -DNDEBUG -O3 +out/androidrelease/tildefriends out/androidrelease-x86_64/tildefriends: CFLAGS += -Os windebug winrelease: CC = x86_64-w64-mingw32-gcc-win32 windebug winrelease: AS = $(CC) windebug winrelease: CFLAGS += \ @@ -367,7 +368,7 @@ $(ANDROID_TARGETS): LDFLAGS += \ unix: debug release win: windebug winrelease -all: $(BUILD_TYPES) +all: $(BUILD_TYPES) out/TildeFriends-debug.apk out/TildeFriends-release.apk .PHONY: all win unix ALL_APP_OBJS := \