Added libgit2 dependency
This commit is contained in:
12
makefile
12
makefile
@@ -1,8 +1,8 @@
|
||||
CXX := clang++
|
||||
CC := clang
|
||||
|
||||
INCLUDES := include src thirdparty/luajit/src thirdparty/uniproc/include
|
||||
LIBRARY_DIRECTORIES := thirdparty/luajit/src
|
||||
INCLUDES := include src thirdparty/luajit/src thirdparty/uniproc/include thirdparty/libgit2/include
|
||||
LIBRARY_DIRECTORIES := thirdparty/luajit/src thirdparty/libgit2
|
||||
LINKER_INPUTS := lua51 luajit
|
||||
|
||||
DEBUG_DEFINES :=
|
||||
@@ -63,4 +63,10 @@ build_deps: .make/thirdparty_luajit .make/thirdparty_uniproc
|
||||
|
||||
.make/thirdparty_uniproc:
|
||||
git submodule update --init --recursive --remote
|
||||
|
||||
$(call touch,".make/thirdparty_uniproc")
|
||||
|
||||
.make/thirdparty_libgit2:
|
||||
git submodule update --init --recursive --remote
|
||||
cd thirdparty/libgit2 && mkdir build
|
||||
cd thirdparty/libgit2/build && cmake .. && cmake --build .
|
||||
$(call touch,".make/thirdparty_libgit2")
|
||||
|
||||
Reference in New Issue
Block a user