Initial commit

This commit is contained in:
2025-12-08 18:44:32 +01:00
commit fe2e026f1e
4 changed files with 1462 additions and 0 deletions

16
Makefile Normal file
View File

@@ -0,0 +1,16 @@
CFLAGS := -std=c23
all: tests
codegen: codegen.c
$(CC) -o $@ $(CFLAGS) -DCODEGEN $^
mbb_rook.h: codegen
./codegen
mbb_bishop.h: codegen
./codegen
tests: tests.c | mbb_rook.h mbb_bishop.h
$(CC) -o $@ $(CFLAGS) $^