add ttf
This commit is contained in:
parent
8732124371
commit
eadb04f159
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -22,7 +22,7 @@ AWK = awk
|
||||||
|
|
||||||
# Déclaration des options du compilateur
|
# Déclaration des options du compilateur
|
||||||
COPTI = -O3
|
COPTI = -O3
|
||||||
CFLAGS = -Wall $(COPTI) -std=c17 # -flto : reduce binary size
|
CFLAGS = -Wall $(COPTI) -std=c17 # -flto # reduce binary size
|
||||||
CPPFLAGS = -I.
|
CPPFLAGS = -I.
|
||||||
LDFLAGS = -lm
|
LDFLAGS = -lm
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CPPFLAGS += $(shell sdl2-config --cflags)
|
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)
|
all: $(PROGNAME)
|
||||||
$(PROGNAME): $(OBJ)
|
$(PROGNAME): $(OBJ)
|
||||||
|
|
Reference in a new issue