summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2017-05-28 19:16:43 -0400
committerFranklin Wei <me@fwei.tk>2017-05-28 19:16:43 -0400
commitf86b29a6f4dfbcdcb16110f209077d5b13f3fcfb (patch)
tree84195e27c405718c7c268e62abf809613e16fd63 /Makefile
parent988afccc360e6e1e22161ccc63518fc253c6b1f7 (diff)
downloadxenonchess-f86b29a6f4dfbcdcb16110f209077d5b13f3fcfb.zip
xenonchess-f86b29a6f4dfbcdcb16110f209077d5b13f3fcfb.tar.gz
xenonchess-f86b29a6f4dfbcdcb16110f209077d5b13f3fcfb.tar.bz2
xenonchess-f86b29a6f4dfbcdcb16110f209077d5b13f3fcfb.tar.xz
bugfixes and improvements
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5865d3c..63407f1 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,8 @@ PREFIX = /usr
BINDIR = $(PREFIX)/bin
LIBDIR = $(PREFIX)/lib
+TSCP = /usr/local/bin/tscp
+
INCLUDES =
LIBS =
@@ -28,7 +30,10 @@ $(PROGRAM_NAME)-old: Makefile $(HEADERS) $(SRC)
$(CC) $(SRC) -o $@ $(CFLAGS) $(LIBS)
test: all
- $(CUTECHESS) -engine name=xenon-new proto=uci dir=`pwd` cmd=./xenonchess -engine proto=uci dir=`pwd` cmd=./xenonchess-old name=xenon-old -each tc=2+.02 -rounds 500
+ $(CUTECHESS) -engine name=xenon-new proto=uci dir=`pwd` cmd=./xenonchess -engine proto=uci dir=`pwd` cmd=./xenonchess-old name=xenon-old -each tc=inf -rounds 100
+
+test-tscp: $(PROGRAM_NAME)
+ $(CUTECHESS) -engine name=xenon-new proto=uci dir=`pwd` cmd=./xenonchess -engine proto=xboard dir=/ cmd=$(TSCP) name=tscp -each tc=2+.02 -rounds 100
%.o: %.c Makefile $(HEADERS)
@echo "CC $<"