summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorJuan Manuel Tomas <jtomas1815@gmail.com>2022-01-26 00:48:24 -0300
committerJuan Manuel Tomas <jtomas1815@gmail.com>2022-01-26 00:48:24 -0300
commitaa470df479e629650ca1d675088664d4d22c1874 (patch)
tree96feb7d720ccbcf1fb2602c66c33d7cf7a6f13f8 /build.sh
parente8f7ca58aa7b0554def69ee0a1700e6cb3af1809 (diff)
downloadcannons-aa470df479e629650ca1d675088664d4d22c1874.tar.gz
cannons-aa470df479e629650ca1d675088664d4d22c1874.zip
Introduce cannon and projectile structs
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 8bc5d4f..f7de64b 100755
--- a/build.sh
+++ b/build.sh
@@ -1,4 +1,4 @@
flags='-Wall -pedantic -O0'
gcc $flags -c main.c -o main.o && \
-gcc main.o -lSDL2 -o main && \
+gcc main.o -lSDL2 -lm -o main && \
./main