From 25271a63a01f5cfd7983713fb7a67b21c3c72b1c Mon Sep 17 00:00:00 2001 From: Daniel Colascione Date: Mon, 26 Feb 2018 09:18:02 -0800 Subject: [PATCH] Make bare "make" in src actually build emacs again * src/Makefile.in (all): Move target ahead of dep-file inclusion. --- src/Makefile.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Makefile.in b/src/Makefile.in index 1f1ae40efef..1d23425969c 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -442,6 +442,10 @@ otherobj= $(TERMCAP_OBJ) $(PRE_ALLOC_OBJ) $(GMALLOC_OBJ) $(RALLOC_OBJ) \ FIRSTFILE_OBJ=@FIRSTFILE_OBJ@ ALLOBJS = $(FIRSTFILE_OBJ) $(VMLIMIT_OBJ) $(obj) $(otherobj) +# Must be first, before dep inclusion! +all: emacs$(EXEEXT) $(OTHER_FILES) +.PHONY: all + AUTO_DEPEND = @AUTO_DEPEND@ DEPDIR = deps ifeq ($(AUTO_DEPEND),yes) @@ -452,9 +456,6 @@ else include $(srcdir)/deps.mk endif -all: emacs$(EXEEXT) $(OTHER_FILES) -.PHONY: all - ## This is the list of all Lisp files that might be loaded into the ## dumped Emacs. Some of them are not loaded on all platforms, but ## the DOC file on every platform uses them (because the DOC file is -- 2.39.2