test/Makefile

changeset 179
5ef724e21702
parent 149
ea2448961441
equal deleted inserted replaced
178:724e8acff6f8 179:5ef724e21702
27 # 27 #
28 28
29 include ../config.mk 29 include ../config.mk
30 30
31 SRC = run-tests.c \ 31 SRC = run-tests.c \
32 test-rules-helper.c \
32 test-real-pgn.c 33 test-real-pgn.c
33 34
34 OBJ = $(SRC:%.c=$(BUILDDIR)/%.o) 35 OBJ = $(SRC:%.c=$(BUILDDIR)/%.o)
35 36
36 CFLAGS += -I../src 37 CFLAGS += -I../src
86 data/game144.pgn data/game145.pgn data/game146.pgn data/game147.pgn \ 87 data/game144.pgn data/game145.pgn data/game146.pgn data/game147.pgn \
87 data/game148.pgn data/game149.pgn data/game150.pgn 88 data/game148.pgn data/game149.pgn data/game150.pgn
88 @echo "Compiling $<" 89 @echo "Compiling $<"
89 $(CC) -o $@ $(CFLAGS) -c $< 90 $(CC) -o $@ $(CFLAGS) -c $<
90 91
92 $(BUILDDIR)/test-rules-helper.o: test-rules-helper.c ucxtest.h \
93 ../src/chess/rules.h
94 @echo "Compiling $<"
95 $(CC) -o $@ $(CFLAGS) -c $<
96

mercurial