neovim/Makefile
Thiago de Arruda de7d5cec8e Add local.mk include in makefile
This can be used by devs that need their own custom targets
2014-02-25 11:55:36 -03:00

29 lines
453 B
Makefile

-include local.mk
CMAKE_FLAGS := -DCMAKE_BUILD_TYPE=Debug
build/bin/nvim: deps
cd build && make
test: build/bin/nvim
cd src/testdir && make
deps: .deps/usr/lib/libuv.a
.deps/usr/lib/libuv.a:
sh -e scripts/get-libuv.sh
cmake: clean
mkdir build
cd build && cmake $(CMAKE_FLAGS) ../
clean:
rm -rf build
for file in lua mbyte mzscheme small tiny; do \
rm -f src/testdir/$$file.vim; \
done
.PHONY: test deps cmake
.DEFAULT: build/bin/nvim