summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRaúl Benencia <rul@kalgan.cc>2015-03-31 15:13:50 -0300
committerRaúl Benencia <rul@kalgan.cc>2015-03-31 15:13:50 -0300
commita50ddfb9a0e9dd344354d5da2afe08adf4375c77 (patch)
tree1211c46d924801dc7959d3068ca2a50c50a9d024 /Makefile
parentf7098bcf35b095ce98acaee9f969981e6ef9a43e (diff)
depend on newly created files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e157f0f..6543609 100644
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,8 @@ 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
-OBJ = lib/board.o lib/print.o lib/piece.o lib/coordinate.o
+DEPS = include/types.h include/board.h include/print.h include/piece.h include/coordinate.h include/move.h include/input.h
+OBJ = lib/board.o lib/print.o lib/piece.o lib/coordinate.o lib/move.o lib/input.o
%.o: %.c $(DEPS)
$(CC) -c -o $@ $< $(CFLAGS)
nihil fit ex nihilo