summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..2c66a2d
--- /dev/null
+++ b/build
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+options=""
+options="${options} -g3 -O0"
+options="${options} -Weverything -Wno-declaration-after-statement -Wno-padded -Wno-disabled-macro-expansion"
+options="${options} -std=c99 -Wpedantic -pedantic-errors"
+options="${options} $(pkg-config --cflags --libs ncurses)"
+clang $options -lm -o fun_menu fun_menu.c utils.c richwin.c stack.c cycle.c