Makefile: use pattern rules for build/.deps [ci skip] (#10366)

This allows for `make build/bin/nvim`,
`make build/src/nvim/auto/funcs.generated.h` etc.
This commit is contained in:
Daniel Hahler 2019-07-30 13:53:33 +02:00 committed by GitHub
parent be6bf75d79
commit 7f6ff829aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -184,4 +184,10 @@ appimage-%:
lint: check-single-includes clint lualint pylint
build/%:
$(BUILD_CMD) -C build $(patsubst build/%,%,$@)
$(DEPS_BUILD_DIR)/%:
$(BUILD_CMD) -C $(DEPS_BUILD_DIR) $(patsubst $(DEPS_BUILD_DIR)/%,%,$@)
.PHONY: test lualint pylint functionaltest unittest lint clint clean distclean nvim libnvim cmake deps install appimage checkprefix