pseudo-moves for pieces (not pawns nor special moves)

This commit is contained in:
2021-10-31 12:16:11 +01:00
parent 07e7cbc72a
commit 2f701c4bd5
9 changed files with 286 additions and 7 deletions

View File

@@ -6,7 +6,7 @@ SRCDIR=./src
SRC=$(wildcard $(SRCDIR)/*.c)
INC=$(wildcard $(SRCDIR)/*.h)
BIN=fen pool piece
BIN=fen pool piece move
CFLAGS += -std=gnu99
CFLAGS += -g
@@ -37,3 +37,8 @@ piece: CFLAGS+=-DPIECEBIN
piece: $(SRC)
echo SRC=$(SRC)
$(CC) $(CFLAGS) $? -o $@
move: CFLAGS+=-DMOVEBIN
move: $(SRC)
echo SRC=$(SRC)
$(CC) $(CFLAGS) $? -o $@