mirror of
https://github.com/fredrikr79/SnakeDL3.git
synced 2026-02-13 03:02:17 +01:00
!!! use arena and vector
This commit is contained in:
5
Makefile
5
Makefile
@@ -3,7 +3,10 @@ clean:
|
||||
mkdir out/
|
||||
|
||||
compile:
|
||||
gcc -W -Wall -Wextra -pedantic -o out/main src/main.c -Iinclude -lpthread -Llib -lSDL3
|
||||
gcc -W -Wall -Wextra -pedantic -o out/main src/main.c src/utils/arena.c src/utils/vector.c -Iinclude -Iutils -lpthread -Llib -lSDL3
|
||||
|
||||
debug:
|
||||
gcc -W -Wall -Wextra -pedantic -g -O0 -o out/main_debug src/main.c src/utils/arena.c src/utils/vector.c -Iinclude -Iutils -lpthread -Llib -lSDL3
|
||||
|
||||
run:
|
||||
make compile
|
||||
|
||||
Reference in New Issue
Block a user