jw-pkg/make/subdirs.mk
Jan Lindemann ac54a7bca6
make: Make target "test" depend on target "all"

Every directory should have a test target, and the test target should depend on all so that all files are generated that might be needed for testing. This commit fixes some missing targets, and adds some missing dependencies.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-07-02 19:52:35 +02:00

17 lines
343 B
Makefile

include $(JWBDIR)/make/defs.mk
include $(JWBDIR)/make/defs-dirs.mk
all:
clean: clean.var
distclean: clean.var distclean.var
test:
all install clean distclean test:
ifneq ($(SUBDIRS_TO_ITERATE),)
set -e; for dir in $(SUBDIRS_TO_ITERATE); do make -C $$dir $@; done
endif
clean.var:
$(RM) -rf $(CLEAN)
distclean.var:
$(RM) -rf $(DISTCLEAN)