summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-10-07 20:55:10 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-10-07 20:55:10 +0000
commite868eb73536f5be9f664cb75169e7361457e5d26 (patch)
tree934445901e408e31c7b37b101f26b1a9c94858e3
parente1e341bdb4667c51f81fdf9fd257b6f1d5db29e0 (diff)
Fix for PR 118 - dependencies should (I hope) work properly now.
Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1011 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r--lib/make/make.config.rules.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/make/make.config.rules.in b/lib/make/make.config.rules.in
index 1ee43178..d7a5f466 100644
--- a/lib/make/make.config.rules.in
+++ b/lib/make/make.config.rules.in
@@ -25,7 +25,7 @@ DIVIDER = $(DIVEL)$(DIVEL)$(DIVEL)$(DIVEL)
# Define how to do dependencies
define DEPENDENCY_FIXER
- $(PERL) -pi -e "s,([^:]*),$(basename $@).o $(basename $@).d," $@
+ $(PERL) -pi -e "s,([^:]*),$(basename $@).o $(basename $@).d, if(m/:/)" $@
endef
define C_DEPENDENCIES