nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1diff --git a/Makefile b/Makefile
2index b0b682cb..513822d9 100644
3--- a/Makefile
4+++ b/Makefile
5@@ -58,17 +58,14 @@ endif
6
7 INCDIRS = \
8 -isystem ./lib/ncurses/include \
9- -iquote ./lib/libgit2/include \
10 -iquote ./src \
11 -iquote .
12
13 LIBDIRS = \
14- -L./lib/libgit2/build-$(PLATFORM) \
15 -L./lib/ncurses/build-$(PLATFORM)
16
17 LIBS = \
18 -lgit2 \
19- -lz \
20 -lpthread \
21 -lformw \
22 -lmenuw \
23@@ -102,7 +99,7 @@ $(OBJS): | lib $(GITHASHHEADER)
24 # Libs: execute make from `lib` directory
25 .PHONY: lib
26 lib:
27- $(MAKE) -C $@
28+ $(MAKE) -C $@ ncurses/$(BUILDROOT)
29
30 # C rule
31 $(BUILDDIR)/%.o: %.c