Commit 56931d1a by Ramsay Jones

Makefile: Add support for custom build options in config.mak file

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
parent 1e5dd572
/apidocs
/trash-*.exe
/libgit2.pc
/config.mak
*.o
*.a
*.exe
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment