aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2026-09-17 07:01:29 +0100
committertslil <tslil@posteo.de>2026-09-18 15:12:19 +0100
commit0dba02072e9a89e35885d9078c0c8b58956448ce (patch)
tree90752b70ad25f1ccc5d48660660fe1ee223a02f2 /Makefile
parent1898add0142b70b3fef5af78a6f3d7399a3f2cd5 (diff)
working towards hybrid rootstrap
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d6ca030..f254d97 100644
--- a/Makefile
+++ b/Makefile
@@ -34,8 +34,10 @@ native: ctlm cttei geminict
cand_a = $(word 1,$(subst -, ,$1))
cand_b = $(word 2,$(subst -, ,$1))
-.PHONY: selfplay-%
-selfplay-%:
+# .PHONY on the pattern alone does not force the recipe when the binary
+# already exists; the FORCE prerequisite does
+.PHONY: selfplay-% FORCE
+selfplay-%: FORCE
rm -f selfplay-%
rm -f src/*.o include/negamax.o include/pv.o include/tt.o
$(MAKE) SELFPLAY_OUT=$@ \