From: Linus Torvalds Date: Thu, 21 Apr 2005 19:14:46 +0000 (-0700) Subject: Split up Makefile library list handling with separate entries for X-Git-Tag: v0.99~780 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=cc1ad5c8309fbace11e3a68e3ec8ffcbded442a6;p=git.git Split up Makefile library list handling with separate entries for zlib and libssl. I'll start giving people choices here.. --- diff --git a/Makefile b/Makefile index f93b5e3d..562338ae 100644 --- a/Makefile +++ b/Makefile @@ -27,11 +27,13 @@ LIB_OBJS=read-cache.o sha1_file.o usage.o object.o commit.o tree.o blob.o LIB_FILE=libgit.a LIB_H=cache.h object.h +LIBS = $(LIB_FILE) +LIBS += -lz +LIBS += -lssl + $(LIB_FILE): $(LIB_OBJS) $(AR) rcs $@ $(LIB_OBJS) -LIBS= $(LIB_FILE) -lssl -lz - init-db: init-db.o fsck-cache: fsck-cache.o $(LIB_FILE) object.o commit.o tree.o blob.o