Update codebase to remove clang warnings (and a couple of legit errors
[typhoon.git] / src / build.sh
1 #!/bin/sh
2 touch main.c
3 opts='GENETIC=1 PERF_COUNTERS=1 MP=1 '
4 if expr $OSTYPE = "darwin"; then
5   opts=${opts}' OSX=1 CC=gcc' 
6   make -j5 $opts $*
7 else
8   opts=${opts}' CC=gcc'
9   gmake -j5 $opts $*
10 fi
11 strip ./typhoon