diff -r e57e2874fb2a -r d1420f5c5704 Makefile --- a/Makefile Mon Aug 24 16:13:51 2026 +0200 +++ b/Makefile Tue Aug 25 18:35:18 2026 +0200 @@ -28,7 +28,7 @@ include config.mk -all: app tests +all: app app: $(BUILDDIR) FORCE cd src && $(MAKE) @@ -36,13 +36,13 @@ tests: $(BUILDDIR) $(BUILDDIR)/libchess$(LIB_EXT) FORCE cd test && $(MAKE) -check: all FORCE +check: tests FORCE $(BUILDDIR)/run-tests $(BUILDDIR): $(MKDIR) $(MKDIRFLAGS) $(BUILDDIR) -$(BUILDDIR)/libchess$(LIB_EXT): +$(BUILDDIR)/libchess$(LIB_EXT): FORCE cd src/chess && $(MAKE) clean: