test/Makefile

changeset 218
1e9751f8eb0d
parent 213
cf7b86d79d35
equal deleted inserted replaced
217:507490519676 218:1e9751f8eb0d
30 30
31 SRC = run-tests.c \ 31 SRC = run-tests.c \
32 test-datatypes.c \ 32 test-datatypes.c \
33 test-rules-helper.c \ 33 test-rules-helper.c \
34 test-real-pgn.c \ 34 test-real-pgn.c \
35 test-fen.c \
35 test-pawn.c \ 36 test-pawn.c \
36 test-rook.c \ 37 test-rook.c \
37 test-knight.c \ 38 test-knight.c \
38 test-bishop.c \ 39 test-bishop.c \
39 test-queen.c \ 40 test-queen.c \
58 $(BUILDDIR)/test-bishop.o: test-bishop.c ../src/chess/rules.h ucxtest.h 59 $(BUILDDIR)/test-bishop.o: test-bishop.c ../src/chess/rules.h ucxtest.h
59 @echo "Compiling $<" 60 @echo "Compiling $<"
60 $(CC) -o $@ $(CFLAGS) -c $< 61 $(CC) -o $@ $(CFLAGS) -c $<
61 62
62 $(BUILDDIR)/test-datatypes.o: test-datatypes.c ../src/chess/rules.h 63 $(BUILDDIR)/test-datatypes.o: test-datatypes.c ../src/chess/rules.h
64 @echo "Compiling $<"
65 $(CC) -o $@ $(CFLAGS) -c $<
66
67 $(BUILDDIR)/test-fen.o: test-fen.c ../src/chess/fen.h \
68 ../src/chess/rules.h ucxtest.h
63 @echo "Compiling $<" 69 @echo "Compiling $<"
64 $(CC) -o $@ $(CFLAGS) -c $< 70 $(CC) -o $@ $(CFLAGS) -c $<
65 71
66 $(BUILDDIR)/test-king.o: test-king.c ../src/chess/rules.h ucxtest.h 72 $(BUILDDIR)/test-king.o: test-king.c ../src/chess/rules.h ucxtest.h
67 @echo "Compiling $<" 73 @echo "Compiling $<"

mercurial