aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-06-30 00:13:53 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-06-30 00:13:53 +0200
commit75be0f0bbbb3e5203f3254564f0c0661a01b031e (patch)
tree6536049debe1f0fc85c6a9e071f3268e2e37b68a
parent2ef6f28e11e1ca4804896d62353ebee127ffa38b (diff)
downloadrneovim-75be0f0bbbb3e5203f3254564f0c0661a01b031e.tar.gz
rneovim-75be0f0bbbb3e5203f3254564f0c0661a01b031e.tar.bz2
rneovim-75be0f0bbbb3e5203f3254564f0c0661a01b031e.zip
Makefile: move `all` target to the top [ci skip] #10375
Fixes "make: Nothing to be done for 'checkprefix'." after 5031e3298.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7b93c08a63..973f39568c 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,8 @@ filter-true = $(strip $(filter-out 1 on ON true TRUE,$1))
# See contrib/local.mk.example
-include local.mk
+all: nvim
+
CMAKE_PRG ?= $(shell (command -v cmake3 || echo cmake))
CMAKE_BUILD_TYPE ?= Debug
CMAKE_FLAGS := -DCMAKE_BUILD_TYPE=$(CMAKE_BUILD_TYPE)
@@ -80,8 +82,6 @@ endif
# a warning, but we need to keep SCRIPTS argument.
SINGLE_MAKE = export MAKEFLAGS= ; $(MAKE)
-all: nvim
-
nvim: build/.ran-cmake deps
+$(BUILD_CMD) -C build