summaryrefslogtreecommitdiff
path: root/src/autodeps.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/autodeps.mk')
-rw-r--r--src/autodeps.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/autodeps.mk b/src/autodeps.mk
new file mode 100644
index 00000000000..c3cc91e22a7
--- /dev/null
+++ b/src/autodeps.mk
@@ -0,0 +1,6 @@
+### autodeps.mk --- src/Makefile fragment for GNU Emacs
+
+## This is inserted in src/Makefile if AUTO_DEPEND=yes.
+
+ALLOBJS=$(START_FILES) ${obj} ${otherobj} prefix-args.o
+-include $(ALLOBJS:%.o=${DEPDIR}/%.d)