summaryrefslogtreecommitdiffstats
path: root/automake
diff options
context:
space:
mode:
Diffstat (limited to 'automake')
-rw-r--r--automake/compile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/automake/compile.am b/automake/compile.am
index 29c7137732..a6c340c28b 100644
--- a/automake/compile.am
+++ b/automake/compile.am
@@ -175,6 +175,12 @@ depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
mv $(DEPEND).tmp $(DEPEND)
depend: depend-am
+# pull in dependencies if they exist
+ifeq (${DEPEND},$(wildcard ${DEPEND}))
+include ${DEPEND}
+@ENDIF@
+
+
# spell out all the LINK_FILE's, rather than using -lbsp, so
# that $(LINK_FILES) can be a dependency