diff -r 6008840b859e -r 6a26114297a1 src/Makefile --- a/src/Makefile Sat Mar 29 16:53:58 2014 +0100 +++ b/src/Makefile Mon Mar 31 11:16:32 2014 +0200 @@ -35,17 +35,10 @@ SRC += client.c SRC += game.c -SRC += rules/pawn.c -SRC += rules/rook.c -SRC += rules/knight.c -SRC += rules/bishop.c -SRC += rules/queen.c -SRC += rules/king.c - OBJ = $(SRC:%.c=../build/%$(OBJ_EXT)) all: $(OBJ) - $(LD) -o ../build/$(BIN) $^ $(LDFLAGS) + $(LD) -o ../build/$(BIN) $^ ../build/chess$(LIB_EXT) $(LDFLAGS) ../build/%$(OBJ_EXT): %.c