This commit is contained in:
2025-12-09 02:34:33 +01:00
parent fe2e026f1e
commit 25705d6cd6
4 changed files with 701 additions and 395 deletions

View File

@@ -1,5 +1,5 @@
CFLAGS := -std=c23
CFLAGS := -std=c23 -g
all: tests
@@ -7,10 +7,10 @@ codegen: codegen.c
$(CC) -o $@ $(CFLAGS) -DCODEGEN $^
mbb_rook.h: codegen
./codegen
#./codegen
mbb_bishop.h: codegen
./codegen
#./codegen
tests: tests.c | mbb_rook.h mbb_bishop.h
tests: tests.c | mbb_rook.h mbb_bishop.h base.h
$(CC) -o $@ $(CFLAGS) $^