summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 850e2a2..287fd6c 100755
--- a/build.sh
+++ b/build.sh
@@ -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