aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Wareham <rjw57@cam.ac.uk>2014-02-26 10:30:05 +0000
committerRich Wareham <rjw57@cam.ac.uk>2014-02-26 10:30:05 +0000
commitd12322c5b72e908e6401be46f86d4f1950c084e9 (patch)
tree158ef61991d60a64c2ae3fa60ebab1c8f4a8cd7b
parentde4fbf92d0da17e2c7f31df29bc72c44702b4e7c (diff)
downloadrneovim-d12322c5b72e908e6401be46f86d4f1950c084e9.tar.gz
rneovim-d12322c5b72e908e6401be46f86d4f1950c084e9.tar.bz2
rneovim-d12322c5b72e908e6401be46f86d4f1950c084e9.zip
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.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fae3699746..41d26b69ec 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ CMAKE_FLAGS := -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=.deps/usr
CMAKE_EXTRA_FLAGS :=
build/bin/nvim: deps
- cd build && make
+ ${MAKE} -C build
test: build/bin/nvim
cd src/testdir && make
@@ -27,7 +27,7 @@ clean:
done
install: build/bin/nvim
- cd build && make install
+ ${MAKE} -C build install
.PHONY: test deps cmake install