From 80bb4541edc2934389045b6729a65bc3f4dd27d9 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 20 Apr 2014 00:55:12 +0000 Subject: [PATCH] build: Avoid excessive dep generation on Makefile changes. Letting error2 depend on config.h instead of Makefile should be no worse, and it does not cause all dependencies to be recreated in the common case where config.h remains unchanged after reconfiguration. --- Makefile.real | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.real b/Makefile.real index 978bebfa..58761a7b 100644 --- a/Makefile.real +++ b/Makefile.real @@ -167,7 +167,7 @@ $(man_dir)/para_%.1: $(ggo_dir)/%.ggo man_util.bash | $(man_dir) $(help2man_dir) $(hostbin_dir)/error2: error2.c | $(hostbin_dir) @[ -z "$(Q)" ] || echo 'HCC $<' $(Q) $(HOSTCC) -o $@ $< -error2.h: $(hostbin_dir)/error2 Makefile +error2.h: $(hostbin_dir)/error2 config.h @[ -z "$(Q)" ] || echo 'ER2 $<' @echo "$(object_executable_matrix)" | $< > $@ -- 2.39.5