From 7c7557aa48362612bfe46f2836e2469edcbb4b5a Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 5 Dec 2023 11:36:13 +0300 Subject: [PATCH] use substitution references instead of patsubst References: https://www.gnu.org/software/make/manual/html_node/Substitution-Refs.html --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 124b311..defbd4a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ PLATFORMIO = nix shell nixpkgs\#platformio --command platformio MARLIN_DIR := $(PWD)/../Marlin-VERSION -MARLIN_2.0.9.7 := $(patsubst %-VERSION,%-2.0.9.7,$(MARLIN_DIR)) +MARLIN_2.0.9.7 := $(MARLIN_DIR:%-VERSION=%-2.0.9.7) .PHONY: ender3v2 ender3v2: