diff options
| author | tslil <tslil@posteo.de> | 2026-09-11 18:36:10 +0100 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-09-12 15:47:15 +0100 |
| commit | a361728f39812e25599323c52510c0eb3131bd90 (patch) | |
| tree | f2772377790e6f2eecaa5b9d9553004d8b50582e /Makefile | |
| parent | 6e90f1145b2c5c0f2dcc82d21ec45432274b8cad (diff) | |
flood fill for roads, fix dragon, memoise leaf eval, enable diagonal in nn_train.py
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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\"' \ |
