summaryrefslogtreecommitdiff
path: root/lib/make/make.config.rules.in
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-11-04 18:55:36 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-11-04 18:55:36 +0000
commit0591737d5dc63666aa34b5946c300eb9e56cc4b8 (patch)
treef113054d34a5de926b7e60f2c5f704efa8f66c33 /lib/make/make.config.rules.in
parent67a5d43141539e6048ff9e7d061e9f43125e93b3 (diff)
Attempt to exclude certain files from the dependency lists to prevent
excessive recompilation when the thornlist is changed. Tested under Linux. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1134 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/make.config.rules.in')
-rw-r--r--lib/make/make.config.rules.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/make/make.config.rules.in b/lib/make/make.config.rules.in
index c2ac5c1f..d8eaeea2 100644
--- a/lib/make/make.config.rules.in
+++ b/lib/make/make.config.rules.in
@@ -26,7 +26,8 @@ DIVIDER = $(DIVEL)$(DIVEL)$(DIVEL)$(DIVEL)
ifeq ($(strip $(PERL_BACKUP_NECESSARY)),)
define DEPENDENCY_FIXER
- $(PERL) -pi -e "s,([^:]*),$(basename $@).o $(basename $@).d, if(m/: /)" $@
+ $(PERL) -pi -e "s,([^:]*),$(basename $@).o $(basename $@).d, if(m/: /);\
+ s:\s[^\s]*[/\\\]($(DEP_EXCLUDE_FILES))\b::g" $@
endef
else
define DEPENDENCY_FIXER