summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..c270347
--- /dev/null
+++ b/makefile
@@ -0,0 +1,13 @@
+CC=gcc
+
+LINK=-lpthread
+DBGCFLAGS=-Wall -pedantic
+CFLAGS=${DBGCFLAGS} -O3 -march=native
+
+def: sb26
+ ./sb26
+
+sb26: sb26.c
+ ${CC} ${CFLAGS} ${LINK} sb26.c -o sb26
+
+.PHONY: def