aboutsummaryrefslogtreecommitdiffstats
path: root/out/config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'out/config.sh')
-rw-r--r--out/config.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/out/config.sh b/out/config.sh
new file mode 100644
index 0000000..7a1f34c
--- /dev/null
+++ b/out/config.sh
@@ -0,0 +1,8 @@
+if type "clang" > /dev/null; then
+ PREF="clang"
+else
+ PREF="gcc"
+fi
+CC=${CC-$PREF}
+CFLAGS="-g -Wall -Wextra -std=c99 -pedantic"
+LDFLAGS=-lcrypto