summaryrefslogtreecommitdiff
path: root/src/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/build.sh')
-rwxr-xr-xsrc/build.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/build.sh b/src/build.sh
new file mode 100755
index 0000000..3d391a1
--- /dev/null
+++ b/src/build.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+touch main.c
+opts='GENETIC=1 PERF_COUNTERS=1 MP=1 '
+if expr $OSTYPE = "darwin"; then
+ opts=${opts}' OSX=1 CC=gcc'
+ make -j5 $opts $*
+else
+ opts=${opts}' CC=gcc'
+ gmake -j5 $opts $*
+fi
+strip ./typhoon