summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f93b5e3d8a..562338ae0c 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