changeset 881:77972dc491ca

Turn dropbearmulti into a real target so we don't constantly re-link it
author Mike Frysinger <vapier@gentoo.org>
date Wed, 11 Dec 2013 21:48:02 +0800
parents 41a55028a9c5
children f05107560aa9
files Makefile.in
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Tue Dec 03 22:00:38 2013 +0800
+++ b/Makefile.in	Wed Dec 11 21:48:02 2013 +0800
@@ -175,10 +175,10 @@
 	CFLAGS+=$(addprefix -DDBMULTI_, $(PROGRAMS)) -DDROPBEAR_MULTI
 endif
 
-dropbearmulti: multilink 
+dropbearmulti$(EXEEXT): $(HEADERS) $(MULTIOBJS) $(LIBTOM_DEPS) Makefile
+	$(CC) $(LDFLAGS) -o $@ $(MULTIOBJS) $(LIBS)$
 
-multibinary: $(HEADERS) $(MULTIOBJS) $(LIBTOM_DEPS) Makefile
-	$(CC) $(LDFLAGS) -o dropbearmulti$(EXEEXT) $(MULTIOBJS) $(LIBS)
+multibinary: dropbearmulti$(EXEEXT)
 
 multilink: multibinary $(addprefix link, $(PROGRAMS))