mirror of
https://github.com/git/git
synced 2024-11-05 18:59:29 +00:00
Split up Makefile library list handling with separate entries for
zlib and libssl. I'll start giving people choices here..
This commit is contained in:
parent
b2c0071867
commit
cc1ad5c830
1 changed files with 4 additions and 2 deletions
6
Makefile
6
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_FILE=libgit.a
|
||||||
LIB_H=cache.h object.h
|
LIB_H=cache.h object.h
|
||||||
|
|
||||||
|
LIBS = $(LIB_FILE)
|
||||||
|
LIBS += -lz
|
||||||
|
LIBS += -lssl
|
||||||
|
|
||||||
$(LIB_FILE): $(LIB_OBJS)
|
$(LIB_FILE): $(LIB_OBJS)
|
||||||
$(AR) rcs $@ $(LIB_OBJS)
|
$(AR) rcs $@ $(LIB_OBJS)
|
||||||
|
|
||||||
LIBS= $(LIB_FILE) -lssl -lz
|
|
||||||
|
|
||||||
init-db: init-db.o
|
init-db: init-db.o
|
||||||
|
|
||||||
fsck-cache: fsck-cache.o $(LIB_FILE) object.o commit.o tree.o blob.o
|
fsck-cache: fsck-cache.o $(LIB_FILE) object.o commit.o tree.o blob.o
|
||||||
|
|
Loading…
Reference in a new issue