neovim/Makefile

35 lines
643 B
Makefile
Raw Normal View History

-include local.mk
CMAKE_FLAGS := -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=.deps/usr
# Extra CMake flags which extend the default set
CMAKE_EXTRA_FLAGS :=
build/bin/nvim: deps
cd build && make
test: build/bin/nvim
2014-02-01 07:27:24 -07:00
cd src/testdir && make
2014-02-01 07:20:02 -07:00
deps: .deps/usr/lib/libuv.a
.deps/usr/lib/libuv.a:
sh -e scripts/compile-libuv.sh
2014-02-01 07:20:02 -07:00
cmake: clean deps
mkdir build
cd build && cmake $(CMAKE_FLAGS) $(CMAKE_EXTRA_FLAGS) ../
2014-02-01 07:20:02 -07:00
clean:
rm -rf build
for file in lua mbyte mzscheme small tiny; do \
rm -f src/testdir/$$file.vim; \
done
install: build/bin/nvim
cd build && make install
.PHONY: test deps cmake install
2014-02-01 07:27:24 -07:00
.DEFAULT: build/bin/nvim