From 4b4bfec8a312132acc84b5166998d0cfa7c01931 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 18 May 2021 18:37:19 +0200 Subject: Improved entire building chain (especially debugging) --- apps/chess/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/chess/Makefile') diff --git a/apps/chess/Makefile b/apps/chess/Makefile index b538807..e84f65f 100644 --- a/apps/chess/Makefile +++ b/apps/chess/Makefile @@ -5,6 +5,9 @@ OBJS = chess.o all: $(OBJS) @mkdir -p $(BUILD)/apps/chess/ @$(LD) -o $(BUILD)/apps/chess/exec $(LDFLAGS) $^ -lgui -ltxt -lc +ifeq ($(CONFIG_STRIP), true) + @$(ST) --strip-all $(BUILD)/apps/chess/exec +endif clean: @$(RM) -f $(OBJS) -- cgit v1.2.3