mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2026-01-02 12:50:34 -07:00
parent
3a9394c308
commit
42dc89ad32
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -7,7 +7,7 @@ UNIT_TEST_CONFIG ?= default
|
|||
# Find a Python 3 interpreter
|
||||
ifeq ($(OS),Windows_NT)
|
||||
# Windows: use `where` – fall back through the three common names
|
||||
PYTHON := $(shell where python 2>nul || where python3 2>nul || where py 2>nul)
|
||||
PYTHON := $(shell which python 2>nul || which python3 2>nul || which py 2>nul)
|
||||
# Windows: Use cmd tools to find pins files
|
||||
PINS_RAW := $(shell cmd //c "dir /s /b Marlin\src\pins\*.h 2>nul | findstr /r ".*Marlin\\\\src\\\\pins\\\\.*\\\\pins_.*\.h"")
|
||||
PINS := $(subst \,/,$(PINS_RAW))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue