summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2013-06-08 22:38:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-06-09 21:45:12 (GMT)
commit21117bfeac37d6000e2d8c0b69a146ff3717f961 (patch)
tree36482b57cee98d75b9ffbcbbdbe131e2cbcf1598 /Makefile
parent7ded0554010f520940704d8588821f1c0e8307ab (diff)
downloadgit-21117bfeac37d6000e2d8c0b69a146ff3717f961.zip
git-21117bfeac37d6000e2d8c0b69a146ff3717f961.tar.gz
git-21117bfeac37d6000e2d8c0b69a146ff3717f961.tar.bz2
Makefile: use $^ to avoid listing prerequisites on the command line
There's no need to list again the prerequisites. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8be7c06..504ad59 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