From d12322c5b72e908e6401be46f86d4f1950c084e9 Mon Sep 17 00:00:00 2001 From: Rich Wareham Date: Wed, 26 Feb 2014 10:30:05 +0000 Subject: [PATCH] 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. --- Makefile | 4 ++-- 1 file 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