optimize for filesize

This commit is contained in:
biglyderv 2025-03-27 07:34:20 -04:00
parent aab88a6c19
commit dffdf200cc
Signed by: biglyderv
GPG key ID: 0E2EB0B4CD7397B5
5 changed files with 15 additions and 16 deletions

View file

@ -2,4 +2,4 @@ CC?=gcc
BIN?=bin/elem
make: src/main.c
$(CC) -o $(BIN) src/map.c src/loader.c src/command.c src/main.c
$(CC) -ffunction-sections -fdata-sections -Wl,--gc-sections -Os -o $(BIN) src/map.c src/loader.c src/command.c src/main.c