This commit is contained in:
Mylloon 2023-05-03 16:08:01 +02:00
parent 8732124371
commit eadb04f159
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -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)