diff options
author | Juan Manuel Tomas <jtomas1815@gmail.com> | 2022-01-20 04:56:45 -0300 |
---|---|---|
committer | Juan Manuel Tomas <jtomas1815@gmail.com> | 2022-01-20 04:56:45 -0300 |
commit | 9384448fd3e54d9d787d7c35bc1069487ab07d88 (patch) | |
tree | 9e77f745047ab62b320a87befb818798989f3f11 /build.sh | |
parent | 53ab36dc7b21f6bb5ebed3130fb026b0779122fe (diff) | |
download | cannons-9384448fd3e54d9d787d7c35bc1069487ab07d88.tar.gz cannons-9384448fd3e54d9d787d7c35bc1069487ab07d88.zip |
Separate most platform code into separate file
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,3 +1,4 @@ -gcc -Wall -pedantic -O0 -c main.c -o main.o && \ +flags=-Wall -pedantic -O0 +gcc $flags -O0 -c main.c -o main.o && \ gcc main.o -lSDL2 -o main && \ ./main |