mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-28 10:28:56 +00:00
Makefile: Add support for custom build options in config.mak file
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
This commit is contained in:
parent
1e5dd57214
commit
56931d1ab4
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,6 +1,7 @@
|
||||
/apidocs
|
||||
/trash-*.exe
|
||||
/libgit2.pc
|
||||
/config.mak
|
||||
*.o
|
||||
*.a
|
||||
*.exe
|
||||
|
2
Makefile
2
Makefile
@ -55,6 +55,8 @@ ifneq (,$(findstring MINGW,$(uname_S)))
|
||||
SPARSE_FLAGS=-Wno-one-bit-signed-bitfield
|
||||
endif
|
||||
|
||||
-include config.mak
|
||||
|
||||
SRC_C = $(wildcard src/*.c)
|
||||
OS_SRC = $(wildcard src/$(OS)/*.c)
|
||||
SRC_C += $(OS_SRC)
|
||||
|
@ -41,6 +41,8 @@ ifneq (,$(findstring MINGW,$(uname_S)))
|
||||
EXTRA_LIBS += -lwsock32 -lpthread
|
||||
endif
|
||||
|
||||
-include ../config.mak
|
||||
|
||||
GIT_LIB = ../libgit2.a
|
||||
|
||||
HDRS = $(wildcard ../src/*.h)
|
||||
|
Loading…
Reference in New Issue
Block a user