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