diff --git a/Makefile b/Makefile index b240fa4..601551c 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ AWK = awk # Déclaration des options du compilateur COPTI = -O3 -CFLAGS = -Wall $(COPTI) -std=c17 # -flto : reduce binary size +CFLAGS = -Wall $(COPTI) -std=c17 # -flto # reduce binary size CPPFLAGS = -I. LDFLAGS = -lm @@ -65,7 +65,7 @@ else endif CPPFLAGS += $(shell sdl2-config --cflags) -LDFLAGS += -lGL4Dummies $(shell sdl2-config --libs) -lSDL2_mixer -lSDL2_image +LDFLAGS += -lGL4Dummies $(shell sdl2-config --libs) -lSDL2_mixer -lSDL2_image -lSDL2_ttf all: $(PROGNAME) $(PROGNAME): $(OBJ)