summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2026-09-03 17:14:06 -0700
committerScott Gasch <[email protected]>2026-09-03 17:14:06 -0700
commit879fbe58abc497cb47115d66a4eaca9df15fb4bc (patch)
tree910547edf0e814afcc21102226457df886645d17
parenta8806adb87bac158353f851a9ad564941affd153 (diff)
Add release/debug shortcut targets to GNUmakefile
Bundle the common build variable combos (MP+GENETIC, DEBUG+PERF_COUNTERS+GENETIC) with -j5 into single targets. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XaWq66W3foZ2zpRmMerWW8
-rw-r--r--src/GNUmakefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile
index ad92abc..289f8bd 100644
--- a/src/GNUmakefile
+++ b/src/GNUmakefile
@@ -191,6 +191,14 @@ fathom.o: fathom/tbprobe.c fathom/tbchess.c fathom/tbconfig.h fathom/tbprobe.h f
%.o: %.asm $(HEADERS)
$(NASM) $(NASMFLAGS) -o $@ $<
+.PHONY: release
+release:
+ $(MAKE) -j5 MP=1 GENETIC=1
+
+.PHONY: debug
+debug:
+ $(MAKE) -j5 DEBUG=1 PERF_COUNTERS=1 GENETIC=1
+
.PHONY: clean
-clean:
+clean:
$(RM) -f *.o *.core *~ *.gmon \#*\# typhoon _typhoon