summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..19411dd
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+clang -std=c99 -Wno-initializer-overrides \
+ -iquoteinc -Dauto=__auto_type -DLOG_USE_COLOR= \
+ $(sdl2-config --cflags) \
+ -o game \
+ src/*.c \
+ $(sdl2-config --libs) -lSDL2_mixer -lSDL2_net