summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 59ff03b..b51d597 100644
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,11 @@ CC = gcc
CFLAGS = -Wall -Iinclude/
OUTPUT = main
MAIN = main.c
-DEPS = include/types.h include/board.h include/print.h include/piece.h include/coordinate.h include/move.h include/input.h include/game.h
-OBJ = lib/board.o lib/print.o lib/piece.o lib/coordinate.o lib/move.o lib/input.o lib/game.o
+DEPS = include/types.h include/board.h include/print.h include/piece.h \
+ include/coordinate.h include/move.h include/input.h include/game.h \
+ include/square.h
+OBJ = lib/board.o lib/print.o lib/piece.o lib/coordinate.o lib/move.o \
+ lib/input.o lib/game.o lib/square.o
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
nihil fit ex nihilo