summaryrefslogtreecommitdiff
path: root/include/makeinclude/rules.local.GNU
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-11 18:59:59 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-11 18:59:59 +0000
commit4c3537c33e2dd602ee422f6ff0a3bc982d533b54 (patch)
treed692e0d41cec8f66f32e3735dfba10969a3d2c92 /include/makeinclude/rules.local.GNU
parent7edd19589a426ddab1b392c108d146a360a78e9c (diff)
downloadATCD-4c3537c33e2dd602ee422f6ff0a3bc982d533b54.tar.gz
added -DMAKEDEPEND to g++dep invocation so that users can get conditional dependencies with #if defined (MAKEDEPEND) in their code
Diffstat (limited to 'include/makeinclude/rules.local.GNU')
-rw-r--r--include/makeinclude/rules.local.GNU2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/makeinclude/rules.local.GNU b/include/makeinclude/rules.local.GNU
index 05444637a95..d1f090bfb4c 100644
--- a/include/makeinclude/rules.local.GNU
+++ b/include/makeinclude/rules.local.GNU
@@ -139,7 +139,7 @@ endif
depend.local: $(MAKEFILE)
@$(RM) -f $(MAKEFILE).old
@cp $(MAKEFILE) $(MAKEFILE).old
- $(WRAPPER_ROOT)/bin/g++dep -f $(MAKEFILE) $(CPPFLAGS) $(LSRC) $(SRC)
+ $(WRAPPER_ROOT)/bin/g++dep -f $(MAKEFILE) $(CPPFLAGS) -DMAKEDEPEND $(LSRC) $(SRC)
@cat $(MAKEFILE) | \
sed -e "s;$(WRAPPER_ROOT);\$$(WRAPPER_ROOT);g" \
-e "s; /[-a-zA-Z0-9_./]*\.h;;g" \