From 3fd43cd5fcb22bb65bf2a92a25d95d801b11c9e0 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Wed, 1 Jun 2016 18:58:58 -0700 Subject: Initial checkin for typhoon chess engine. --- src/build.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 src/build.sh (limited to 'src/build.sh') 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 -- cgit v1.3