39 $(BUILDDIR)/libchess$(LIB_EXT): FORCE |
39 $(BUILDDIR)/libchess$(LIB_EXT): FORCE |
40 cd chess; $(MAKE) |
40 cd chess; $(MAKE) |
41 |
41 |
42 FORCE: |
42 FORCE: |
43 |
43 |
44 |
44 $(BUILDDIR)/client.o: client.c input.h game.h chess/game-info.h network.h \ |
45 $(BUILDDIR)/client.o: client.c terminal-chess.h network.h chess/rules.h \ |
45 chess/pgn.h chess/rules.h chess/game-info.h |
46 input.h game.h chess/chess.h chess/rules.h chess/pawn.h chess/rook.h \ |
46 @echo "Compiling $<" |
47 chess/knight.h chess/bishop.h chess/queen.h chess/king.h chess/pgn.h |
|
48 $(CC) -o $@ $(CFLAGS) -c $< |
47 $(CC) -o $@ $(CFLAGS) -c $< |
49 |
48 |
50 $(BUILDDIR)/colors.o: colors.c colors.h |
49 $(BUILDDIR)/colors.o: colors.c colors.h |
|
50 @echo "Compiling $<" |
51 $(CC) -o $@ $(CFLAGS) -c $< |
51 $(CC) -o $@ $(CFLAGS) -c $< |
52 |
52 |
53 $(BUILDDIR)/game.o: game.c game.h chess/chess.h chess/rules.h \ |
53 $(BUILDDIR)/game.o: game.c game.h chess/game-info.h network.h input.h \ |
54 chess/pawn.h chess/rook.h chess/knight.h chess/bishop.h chess/queen.h \ |
54 colors.h chess/rules.h chess/game-info.h chess/pgn.h chess/rules.h |
55 chess/king.h chess/pgn.h terminal-chess.h network.h chess/rules.h \ |
55 @echo "Compiling $<" |
56 input.h colors.h |
|
57 $(CC) -o $@ $(CFLAGS) -c $< |
56 $(CC) -o $@ $(CFLAGS) -c $< |
58 |
57 |
59 $(BUILDDIR)/input.o: input.c input.h |
58 $(BUILDDIR)/input.o: input.c input.h |
|
59 @echo "Compiling $<" |
60 $(CC) -o $@ $(CFLAGS) -c $< |
60 $(CC) -o $@ $(CFLAGS) -c $< |
61 |
61 |
62 $(BUILDDIR)/main.o: main.c terminal-chess.h network.h chess/rules.h \ |
62 $(BUILDDIR)/main.o: main.c game.h chess/game-info.h input.h network.h \ |
63 game.h chess/chess.h chess/rules.h chess/pawn.h chess/rook.h \ |
63 colors.h |
64 chess/knight.h chess/bishop.h chess/queen.h chess/king.h chess/pgn.h \ |
64 @echo "Compiling $<" |
65 input.h colors.h |
|
66 $(CC) -o $@ $(CFLAGS) -c $< |
65 $(CC) -o $@ $(CFLAGS) -c $< |
67 |
66 |
68 $(BUILDDIR)/network.o: network.c network.h |
67 $(BUILDDIR)/network.o: network.c network.h |
|
68 @echo "Compiling $<" |
69 $(CC) -o $@ $(CFLAGS) -c $< |
69 $(CC) -o $@ $(CFLAGS) -c $< |
70 |
70 |
71 $(BUILDDIR)/server.o: server.c terminal-chess.h network.h chess/rules.h \ |
71 $(BUILDDIR)/server.o: server.c network.h game.h chess/game-info.h \ |
72 game.h chess/chess.h chess/rules.h chess/pawn.h chess/rook.h \ |
72 chess/pgn.h chess/rules.h chess/game-info.h |
73 chess/knight.h chess/bishop.h chess/queen.h chess/king.h chess/pgn.h |
73 @echo "Compiling $<" |
74 $(CC) -o $@ $(CFLAGS) -c $< |
74 $(CC) -o $@ $(CFLAGS) -c $< |
75 |
75 |