mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
Makefile: use "make -C build" idiom
Change an explicit ``cd build && make`` into the more usual ``${MAKE} -C build`` style of invoking make in a subdirectory. This should mean that ``make -jN`` from the top-level Makefile should work. Closes #162.
This commit is contained in:
parent
de4fbf92d0
commit
d12322c5b7
4
Makefile
4
Makefile
@ -6,7 +6,7 @@ CMAKE_FLAGS := -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=.deps/usr
|
|||||||
CMAKE_EXTRA_FLAGS :=
|
CMAKE_EXTRA_FLAGS :=
|
||||||
|
|
||||||
build/bin/nvim: deps
|
build/bin/nvim: deps
|
||||||
cd build && make
|
${MAKE} -C build
|
||||||
|
|
||||||
test: build/bin/nvim
|
test: build/bin/nvim
|
||||||
cd src/testdir && make
|
cd src/testdir && make
|
||||||
@ -27,7 +27,7 @@ clean:
|
|||||||
done
|
done
|
||||||
|
|
||||||
install: build/bin/nvim
|
install: build/bin/nvim
|
||||||
cd build && make install
|
${MAKE} -C build install
|
||||||
|
|
||||||
.PHONY: test deps cmake install
|
.PHONY: test deps cmake install
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user