aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Szakmeister <john@szakmeister.net>2014-03-31 04:41:26 -0400
committerJohn Szakmeister <john@szakmeister.net>2014-03-31 04:41:26 -0400
commit0f6323b8e52124075300240c2bc44152a4f7a294 (patch)
tree3e73776afc574fbe4bc9b506578f4683ece54726
parentcc9fbd9e5524c72b9d69fd619b0a69a3588a2811 (diff)
downloadrneovim-0f6323b8e52124075300240c2bc44152a4f7a294.tar.gz
rneovim-0f6323b8e52124075300240c2bc44152a4f7a294.tar.bz2
rneovim-0f6323b8e52124075300240c2bc44152a4f7a294.zip
Force the `cmake` target to re-run the CMake configuration.
This makes it more handy when files are added or removed from the source tree. A simple `make cmake` will re-configure and pick up the change.
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c20329ad9e..c334ea7f87 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,9 @@ all: nvim
nvim: build/.ran-cmake deps
+$(BUILD_TOOL) -C build
-cmake: | build/.ran-cmake
+cmake:
+ touch CMakeLists.txt
+ $(MAKE) build/.ran-cmake
build/.ran-cmake: | deps
mkdir -p build