From: Felipe Contreras Date: Sat, 8 Jun 2013 22:38:58 +0000 (-0500) Subject: Makefile: use $^ to avoid listing prerequisites on the command line X-Git-Tag: v1.8.4-rc0~162^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/21117bfeac37d6000e2d8c0b69a146ff3717f961 Makefile: use $^ to avoid listing prerequisites on the command line There's no need to list again the prerequisites. Signed-off-by: Felipe Contreras Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index 8be7c06557..504ad59235 100644 --- a/Makefile +++ b/Makefile @@ -2043,13 +2043,13 @@ $(REMOTE_CURL_PRIMARY): remote-curl.o http.o http-walker.o GIT-LDFLAGS $(GITLIBS $(LIBS) $(CURL_LIBCURL) $(EXPAT_LIBEXPAT) $(LIB_FILE): $(LIB_OBJS) - $(QUIET_AR)$(RM) $@ && $(AR) rcs $@ $(LIB_OBJS) + $(QUIET_AR)$(RM) $@ && $(AR) rcs $@ $^ $(XDIFF_LIB): $(XDIFF_OBJS) - $(QUIET_AR)$(RM) $@ && $(AR) rcs $@ $(XDIFF_OBJS) + $(QUIET_AR)$(RM) $@ && $(AR) rcs $@ $^ $(VCSSVN_LIB): $(VCSSVN_OBJS) - $(QUIET_AR)$(RM) $@ && $(AR) rcs $@ $(VCSSVN_OBJS) + $(QUIET_AR)$(RM) $@ && $(AR) rcs $@ $^ export DEFAULT_EDITOR DEFAULT_PAGER