diff options
| author | Scott Gasch <[email protected]> | 2016-06-01 18:58:58 -0700 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2016-06-01 18:58:58 -0700 |
| commit | 3fd43cd5fcb22bb65bf2a92a25d95d801b11c9e0 (patch) | |
| tree | 9b6443235d16ba17f094a1a1c7ae53d2bcb9267b /src/build.sh | |
Initial checkin for typhoon chess engine.
Diffstat (limited to 'src/build.sh')
| -rwxr-xr-x | src/build.sh | 11 |
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 |
