mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
aad5f6341e
get-libuv.sh was renamed to compile-libuv.sh
27 lines
435 B
Makefile
27 lines
435 B
Makefile
CMAKE_FLAGS := -DCMAKE_BUILD_TYPE=Debug
|
|
|
|
build/src/vim: deps
|
|
cd build && make
|
|
|
|
test: build/src/vim
|
|
cd src/testdir && make
|
|
|
|
deps: .deps/usr/lib/libuv.a
|
|
|
|
.deps/usr/lib/libuv.a:
|
|
sh -e scripts/compile-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/src/vim
|