diff --git a/Makefile b/Makefile index 7ad3451..b1adf32 100644 --- a/Makefile +++ b/Makefile @@ -29,12 +29,10 @@ HDR_INSTALL= \ PREFIX_LIB=$(PREFIX)lib/make-it-quick/config/ LIB_INSTALL=$(wildcard config/check*.c) +TESTS=example/ -# Include the makefile rules with special BUILD path MIQ=./ include $(MIQ)rules.mk -TESTS=example/ - config.local-setup.mk: $(PRINT_GENERATE) echo > $@ CONFIG_SOURCES=$(PREFIX_LIB) diff --git a/rules.mk b/rules.mk index 60a0769..9b1e35e 100644 --- a/rules.mk +++ b/rules.mk @@ -541,7 +541,7 @@ product.test: .product %.c.test %.cpp.test: $(MIQ_OUTPRODS) $(PRINT_TEST) $(MIQ_BUILDTEST) && $(MIQ_RUNTEST) %/.test: - +$(PRINT_TEST) cd $* && $(MAKE) test + +$(PRINT_TEST) cd $* && $(MIQ_RECURSE) RUN_TESTS=yes .build #------------------------------------------------------------------------------