summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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 $<"