From f86b29a6f4dfbcdcb16110f209077d5b13f3fcfb Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sun, 28 May 2017 19:16:43 -0400 Subject: bugfixes and improvements --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 $<" -- cgit v1.1