From 8ee610eb10a176aa1d106efe00a5d9e5daa082c0 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Tue, 20 Jun 2023 02:31:01 -0300 Subject: build: fix hardcoded make in recursive make calls Use the `$(MAKE)` macro to ensure that the same make program is used in the recursive invocation. Note: Most recursive calls already use `$(MAKE)`. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fdf83beb4..039dd6946 100644 --- a/Makefile +++ b/Makefile @@ -320,7 +320,7 @@ DISTFILES_TEST = test/Makefile test/apps test/apps-x11 test/apps-x11-xorg test/c dist: config.mk mv config.sh config.sh.old mv config.status config.status.old - make distclean + $(MAKE) distclean mv config.status.old config.status mv config.sh.old config.sh rm -fr $(TARNAME)-$(VERSION) $(TARNAME)-$(VERSION).tar.xz @@ -358,7 +358,7 @@ cppcheck: clean .PHONY: scan-build scan-build: clean - scan-build make + scan-build $(MAKE) .PHONY: codespell codespell: clean -- cgit v1.2.3-54-g00ecf