optimize for filesize
This commit is contained in:
parent
aab88a6c19
commit
dffdf200cc
5 changed files with 15 additions and 16 deletions
2
Makefile
2
Makefile
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue