summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 0afd01b..e844f02 100644
--- a/Makefile
+++ b/Makefile
@@ -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