src/Makefile

changeset 19
6a26114297a1
parent 10
1347e4dabac0
child 32
8a0b85303ee8
--- 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

mercurial