summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
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