diff options
author | Raúl Benencia <rul@kalgan.cc> | 2015-03-31 15:13:50 -0300 |
---|---|---|
committer | Raúl Benencia <rul@kalgan.cc> | 2015-03-31 15:13:50 -0300 |
commit | a50ddfb9a0e9dd344354d5da2afe08adf4375c77 (patch) | |
tree | 1211c46d924801dc7959d3068ca2a50c50a9d024 | |
parent | f7098bcf35b095ce98acaee9f969981e6ef9a43e (diff) |
depend on newly created files
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |