[PATCH v4 03/45] build: trivial cleanup

2013-06-09 Thread Felipe Contreras
There's no need to list again the prerequisites.

Signed-off-by: Felipe Contreras felipe.contre...@gmail.com
---
 Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 34f1240..3b6cd5a 100644
--- a/Makefile
+++ b/Makefile
@@ -2068,13 +2068,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
 
-- 
1.8.3.698.g079b096

--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH v4 03/45] build: trivial cleanup

2013-06-09 Thread SZEDER Gábor
On Sun, Jun 09, 2013 at 11:40:15AM -0500, Felipe Contreras wrote:
 There's no need to list again the prerequisites.
 
 Signed-off-by: Felipe Contreras felipe.contre...@gmail.com

Please write more shortlog-friendly subject lines describing what the
actual change is.

In this case for example: build: substitute library prerequisites
using $^

--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html