use substitution references instead of patsubst
References: https://www.gnu.org/software/make/manual/html_node/Substitution-Refs.html
This commit is contained in:
parent
f16851d6a2
commit
7c7557aa48
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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:
|
||||
|
|
Loading…
Reference in a new issue