diff options
-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 -OBJ = lib/board.o lib/print.o lib/piece.o +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 %.o: %.c $(DEPS) $(CC) -c -o $@ $< $(CFLAGS) |