From a50ddfb9a0e9dd344354d5da2afe08adf4375c77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Tue, 31 Mar 2015 15:13:50 -0300 Subject: depend on newly created files --- Makefile | 4 ++-- 1 file 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) -- cgit v1.2.3