summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2017-05-28 16:30:39 -0400
committerFranklin Wei <me@fwei.tk>2017-05-28 16:30:39 -0400
commit0bbdcc8bd920421b19f4d25d416d8c3f1ae13cda (patch)
tree9e25a551626e48b6e45539ba29b58812bad77167 /Makefile
parent80ac3131ca5f1aa9d56ee0f3ffd723af55184d23 (diff)
downloadxenonchess-0bbdcc8bd920421b19f4d25d416d8c3f1ae13cda.zip
xenonchess-0bbdcc8bd920421b19f4d25d416d8c3f1ae13cda.tar.gz
xenonchess-0bbdcc8bd920421b19f4d25d416d8c3f1ae13cda.tar.bz2
xenonchess-0bbdcc8bd920421b19f4d25d416d8c3f1ae13cda.tar.xz
PST test
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index aecde2b..5865d3c 100644
--- a/Makefile
+++ b/Makefile
@@ -21,14 +21,14 @@ CFLAGS = -Ofast -g -Wall -Wextra -std=gnu99 $(INCLUDES)
all: Makefile $(PROGRAM_NAME) $(PROGRAM_NAME)-old
-$(PROGRAM_NAME): Makefile $(HEADERS)
+$(PROGRAM_NAME): Makefile $(HEADERS) $(SRC)
$(CC) $(SRC) -o $@ $(CFLAGS) $(LIBS) -DTEST_FEATURE
-$(PROGRAM_NAME)-old: Makefile $(HEADERS)
+$(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=1+.01 -rounds 100
+ $(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
%.o: %.c Makefile $(HEADERS)
@echo "CC $<"