test/Makefile

changeset 179
5ef724e21702
parent 149
ea2448961441
--- a/test/Makefile	Fri Aug 21 16:08:50 2026 +0200
+++ b/test/Makefile	Fri Aug 21 17:04:43 2026 +0200
@@ -29,6 +29,7 @@
 include ../config.mk
 
 SRC  = run-tests.c \
+	   test-rules-helper.c \
 	   test-real-pgn.c
 
 OBJ = $(SRC:%.c=$(BUILDDIR)/%.o)
@@ -88,3 +89,8 @@
 	@echo "Compiling $<"
 	$(CC) -o $@ $(CFLAGS) -c $<
 
+$(BUILDDIR)/test-rules-helper.o: test-rules-helper.c ucxtest.h \
+ ../src/chess/rules.h
+	@echo "Compiling $<"
+	$(CC) -o $@ $(CFLAGS) -c $<
+

mercurial