Makefile: move all target to the top [ci skip] #10375

Fixes "make: Nothing to be done for 'checkprefix'." after 5031e3298.
This commit is contained in:
Daniel Hahler 2019-06-30 00:13:53 +02:00 committed by Justin M. Keyes
parent 2ef6f28e11
commit 75be0f0bbb

View File

@ -5,6 +5,8 @@ filter-true = $(strip $(filter-out 1 on ON true TRUE,$1))
# See contrib/local.mk.example # See contrib/local.mk.example
-include local.mk -include local.mk
all: nvim
CMAKE_PRG ?= $(shell (command -v cmake3 || echo cmake)) CMAKE_PRG ?= $(shell (command -v cmake3 || echo cmake))
CMAKE_BUILD_TYPE ?= Debug CMAKE_BUILD_TYPE ?= Debug
CMAKE_FLAGS := -DCMAKE_BUILD_TYPE=$(CMAKE_BUILD_TYPE) CMAKE_FLAGS := -DCMAKE_BUILD_TYPE=$(CMAKE_BUILD_TYPE)
@ -80,8 +82,6 @@ endif
# a warning, but we need to keep SCRIPTS argument. # a warning, but we need to keep SCRIPTS argument.
SINGLE_MAKE = export MAKEFLAGS= ; $(MAKE) SINGLE_MAKE = export MAKEFLAGS= ; $(MAKE)
all: nvim
nvim: build/.ran-cmake deps nvim: build/.ran-cmake deps
+$(BUILD_CMD) -C build +$(BUILD_CMD) -C build