optimisation of size #1

Merged
Anri merged 5 commits from shadowmapping into main 2023-05-26 21:06:24 +02:00
Showing only changes of commit 1fdc16106f - Show all commits

View file

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