summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-21 19:14:46 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-21 19:14:46 (GMT)
commitcc1ad5c8309fbace11e3a68e3ec8ffcbded442a6 (patch)
tree5dd0a138fdc9f0da3d58eea83cd4a01526d7554e /Makefile
parentb2c007186786c39693d42d18a1e491aa2e7defce (diff)
downloadgit-cc1ad5c8309fbace11e3a68e3ec8ffcbded442a6.zip
git-cc1ad5c8309fbace11e3a68e3ec8ffcbded442a6.tar.gz
git-cc1ad5c8309fbace11e3a68e3ec8ffcbded442a6.tar.bz2
Split up Makefile library list handling with separate entries for
zlib and libssl. I'll start giving people choices here..
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f93b5e3..562338a 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