From 1fdc16106fc0172574673b90f927ddd8e175396f Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 26 May 2023 20:59:31 +0200 Subject: [PATCH] always strip instead of flto --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3474287..3a06632 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ AWK = awk STRIP = strip -s # Déclaration des options du compilateur -COPTI = -O3 -flto +COPTI = -O3 CFLAGS = -Wall $(COPTI) -std=gnu17 CPPFLAGS = -I. LDFLAGS = -lm @@ -69,6 +69,8 @@ CPPFLAGS += $(shell sdl2-config --cflags) LDFLAGS += -lGL4Dummies $(shell sdl2-config --libs) -lSDL2_mixer -lSDL2_image -lSDL2_ttf all: $(PROGNAME) +all: strip + $(PROGNAME): $(OBJ) $(CC) $(OBJ) $(LDFLAGS) -o $(PROGNAME)