diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -17,6 +17,11 @@ # anywhere. From the top level, the "all", "check", and "clean" # targets build, test, or clean everything. +# To run test suites without rebuilding, pass NO_REBUILD=1 to the +# build. This can be useful for testing binary interface compatibility +# as it enables you to rebuild libraries and rerun tests without +# relinking. + # Although this is not a GNU package and does not use automake, you # can still run make clean to remove everything that is compiled, make # distclean to remove everything that is generated by the end user, @@ -111,8 +116,12 @@ maintainer-clean: distclean $(RM) autofiles.zip .PHONY: $(TEST_TARGETS) + +NO_REBUILD ?= +ifneq ($(NO_REBUILD),1) $(foreach B,$(TEST_ITEMS),$(eval \ check_$(B): $(TARGETS_$(B)))) +endif .PHONY: $(foreach B,$(BUILD_ITEMS),build_$(B)) $(foreach B,$(BUILD_ITEMS),$(eval \ |