summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorJuan Manuel Tomas <jtomas1815@gmail.com>2022-01-13 09:58:22 -0300
committerJuan Manuel Tomas <jtomas1815@gmail.com>2022-01-13 09:58:22 -0300
commitf3f382fe4f3a6b074be6fead547f149cafc113d9 (patch)
tree7151da297a00e346fcc61fe1908d90f58afa5b23 /build.sh
parent8cea7cf2986a36d51c1ce81d36d2d7c3dffa071c (diff)
downloadcannons-f3f382fe4f3a6b074be6fead547f149cafc113d9.tar.gz
cannons-f3f382fe4f3a6b074be6fead547f149cafc113d9.zip
Create tiled background and foreground
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index d4db25e..850e2a2 100755
--- a/build.sh
+++ b/build.sh
@@ -1,3 +1,3 @@
-gcc -c main.c -o main.o
-gcc main.o -lSDL2 -o main
+gcc -Wall -pedantic -O0 -c main.c -o main.o && \
+gcc main.o -lSDL2 -o main && \
./main