aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..575c08b
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+CFLAGS="-O0 -g3 -Wall -Wextra -Werror"
+#CFLAGS="-O3 -s"
+#LIBS="-lcurl"
+LIBS=""
+#gcc
+musl-gcc -static main.c program.c alloc.c buffer.c -o automedia $CFLAGS $LIBS