diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2014-08-23 20:06:52 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2014-08-23 20:06:52 +0100 |
commit | 341e7309ad06f52e84e5d1fa43cdc6e9b1755f53 (patch) | |
tree | 7836aebf1eabefc169b59a6fe6702d0b297414e7 /Makefile | |
parent | 66188bf99eac268e7f651a54dcbf164660ef8bd2 (diff) | |
download | gall-341e7309ad06f52e84e5d1fa43cdc6e9b1755f53.tar.gz |
Migration to new libgit2 complete, test suite passesreplace-luagit2
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -14,10 +14,9 @@ INCS := -I/usr/include/lua$(LUA_VER) -Ilibgit2/build/gall-install/include OPT := -O0 -g PIC := -fPIC WARN := -Wall -Werror -DEFS := -D'LUA_INTERP_NAME="$(LUA_INTERP_NAME)"' \ - -D'LUA_INTERP_PATH="$(LUA_INTERP_PATH)"' +DEFS := CFLAGS := $(INCS) $(OPT) $(WARN) $(DEFS) $(PIC) $(CFLAGS) -LIBGIT2_LDEPS ?= -lssl -lrt +LIBGIT2_LDEPS ?= -lssl -lssh2 -lrt LFLAGS := -O1 -g -Llibgit2/build/gall-install/lib -lgit2 $(LIBGIT2_LDEPS) $(LFLAGS) MOD_FILES := $(patsubst %,%.lua,$(subst .,/,$(MODULES))) @@ -56,7 +55,7 @@ libgit2/build/gall-install-stamp: clean: $(RM) luacov.report.out luacov.report.git2.out luacov.stats.out - $(RM) -r libgit2/build luagit2/build lib/gall/ll + $(RM) -r libgit2/build luagit2/build lib/gall/ll/git2.so distclean: clean find . -name "*~" -delete |