From a361728f39812e25599323c52510c0eb3131bd90 Mon Sep 17 00:00:00 2001 From: tslil Date: Fri, 11 Sep 2026 18:36:10 +0100 Subject: flood fill for roads, fix dragon, memoise leaf eval, enable diagonal in nn_train.py --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 623b382..1b87677 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,6 @@ IDIR=include CFLAGS=-O3 -ffast-math -Wall -Wextra -Wpedantic -std=c99 -D_DEFAULT_SOURCE $(DEFINES) -I$(IDIR) NATIVE_FLAGS=-march=native -CTAK=include/tak.c -CTAK_OBJS=$(CTAK:.c=.o) CAND_SRCS=$(wildcard include/cand_*.c) SRCS=$(filter-out include/lcdlib.c $(CAND_SRCS),$(wildcard include/*.c)) OBJS=$(SRCS:.c=.o) @@ -27,7 +25,7 @@ cttei: src/cttei.o $(OBJS) $(CC) $(CFLAGS) src/cttei.o $(OBJS) -o cttei clean: - rm -f ctlm ct1986 cttei pptdb geminict + rm -f ctlm ct1986 cttei geminict selfplay* rm -f src/*.o include/*.o native: CFLAGS += $(NATIVE_FLAGS) @@ -39,7 +37,7 @@ cand_b = $(word 2,$(subst -, ,$1)) .PHONY: selfplay-% selfplay-%: rm -f selfplay-% - $(MAKE) clean + rm -f src/*.o include/*.o $(MAKE) SELFPLAY_OUT=$@ \ DEFINES="-DRECORD_PV -DCAND_A=$(call cand_a,$*) -DCAND_B=$(call cand_b,$*) \ -DCAND_A_WEIGHTS_5='\"cand_$(call cand_a,$*)_weights_5.c\"' \ -- cgit v1.3.1