summaryrefslogtreecommitdiff
path: root/demo/make_all.sh
diff options
context:
space:
mode:
Diffstat (limited to 'demo/make_all.sh')
-rwxr-xr-xdemo/make_all.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/demo/make_all.sh b/demo/make_all.sh
new file mode 100755
index 0000000..baa8722
--- /dev/null
+++ b/demo/make_all.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+
+# Linker opts is blank for OS X, FreeBSD and OpenSolaris
+#LINKER_OPTIONS=""
+
+# Must link with realtime libs for Linux
+LINKER_OPTIONS="-lrt"
+
+gcc -Wall -c -o md5.o md5.c
+gcc -Wall -c -o utils.o utils.c
+gcc -Wall -L. $LINKER_OPTIONS md5.o utils.o -o premise premise.c
+gcc -Wall -L. $LINKER_OPTIONS md5.o utils.o -o conclusion conclusion.c