From 75be0f0bbbb3e5203f3254564f0c0661a01b031e Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 30 Jun 2019 00:13:53 +0200 Subject: [PATCH] Makefile: move `all` target to the top [ci skip] #10375 Fixes "make: Nothing to be done for 'checkprefix'." after 5031e3298. --- Makefile | 4 ++-- 1 file 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