diff options
author | Raúl Benencia <rul@kalgan.cc> | 2015-03-31 15:45:21 -0300 |
---|---|---|
committer | Raúl Benencia <rul@kalgan.cc> | 2015-03-31 15:45:21 -0300 |
commit | 9e791e4e927b837c8647765ada6f25be1ac086cc (patch) | |
tree | 8a82113a036705ccfc59023ff2e0134e275394dd /Makefile | |
parent | 9ad93043d107926b48196b9c9ba9588ded5f4b64 (diff) |
introduce game loop function
Diffstat (limited to 'Makefile')
-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 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 +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 %.o: %.c $(DEPS) $(CC) -c -o $@ $< $(CFLAGS) |