summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2011-05-24 21:32:34 -0400
committerGlenn Morris <rgm@gnu.org>2011-05-24 21:32:34 -0400
commitd114d4f36e63c030b75b1bcc13c075db57e4152a (patch)
treedb7045f7fb4a4b1d369d0756cfddcfd889255ab1 /lib-src
parent7bdede3f5e21e94de5ec26b73971c3a9697cc99b (diff)
downloademacs-d114d4f36e63c030b75b1bcc13c075db57e4152a.tar.gz
* lib-src/Makefile.in (movemail${EXEEXT}): Build in one step, not via .o file.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog2
-rw-r--r--lib-src/Makefile.in7
2 files changed, 4 insertions, 5 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 7d4a19fedc9..a7cbeba8227 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,5 +1,7 @@
2011-05-25 Glenn Morris <rgm@gnu.org>
+ * Makefile.in (movemail${EXEEXT}): Build in one step, not via .o file.
+
* Makefile.in (REGEXPOBJ, REGEXPDEPS): Remove. Replace by expansion.
(etags${EXEEXT}): Just depend on regex.o, not regex.h as well.
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 5c9a62a2c56..a7f224a31ac 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -340,13 +340,10 @@ make-docfile${EXEEXT}: ${srcdir}/make-docfile.c ../src/config.h
$(CC) ${ALL_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) \
-o make-docfile
-movemail${EXEEXT}: movemail.o pop.o
- $(CC) ${LINK_CFLAGS} ${MOVE_FLAGS} movemail.o pop.o \
+movemail${EXEEXT}: ${srcdir}/movemail.c pop.o ../src/config.h
+ $(CC) ${ALL_CFLAGS} ${MOVE_FLAGS} ${srcdir}/movemail.c pop.o \
$(LOADLIBES) $(LIBS_MOVE) -o movemail
-movemail.o: ${srcdir}/movemail.c ../src/config.h
- $(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/movemail.c
-
pop.o: ${srcdir}/pop.c ${srcdir}/../lib/min-max.h ../src/config.h
$(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/pop.c