Split up Makefile library list handling with separate entries for
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 21 Apr 2005 19:14:46 +0000 (12:14 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 21 Apr 2005 19:14:46 +0000 (12:14 -0700)
zlib and libssl.

I'll start giving people choices here..

Makefile

index f93b5e3d8a427d93e7e5125b55b17cd1a9479af9..562338ae0c9a7b0b34452eb097c4bdd893f7c724 100644 (file)
--- 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