summaryrefslogtreecommitdiff
path: root/microshooter/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'microshooter/build.sh')
-rwxr-xr-xmicroshooter/build.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/microshooter/build.sh b/microshooter/build.sh
new file mode 100755
index 0000000..172c395
--- /dev/null
+++ b/microshooter/build.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+cc -o microshooter_client -O0 -g -fsanitize=address -Wall -Wextra -Wpedantic ./microshooter.c $(pkg-config --cflags --libs sdl3) -DCLIENT
+cc -o microshooter_server -O0 -g -fsanitize=address -Wall -Wextra -Wpedantic ./microshooter.c $(pkg-config --cflags --libs sdl3) -DSERVER