Use py on Windows

Former-commit-id: 8c186ab96d
This commit is contained in:
Luke Street 2022-07-18 19:38:32 -04:00
parent bed1bb88de
commit ee727825f8
1 changed files with 2 additions and 1 deletions

View File

@ -67,6 +67,7 @@ ifeq ($(WINDOWS),1)
WINE := WINE :=
AS := $(DEVKITPPC)/bin/powerpc-eabi-as.exe AS := $(DEVKITPPC)/bin/powerpc-eabi-as.exe
CPP := $(DEVKITPPC)/bin/powerpc-eabi-cpp.exe -P CPP := $(DEVKITPPC)/bin/powerpc-eabi-cpp.exe -P
PYTHON := py
else else
WIBO := $(shell command -v wibo 2> /dev/null) WIBO := $(shell command -v wibo 2> /dev/null)
ifdef WIBO ifdef WIBO
@ -78,12 +79,12 @@ else
DEPENDS := $(DEPENDS:.d=.d.unix) DEPENDS := $(DEPENDS:.d=.d.unix)
AS := $(DEVKITPPC)/bin/powerpc-eabi-as AS := $(DEVKITPPC)/bin/powerpc-eabi-as
CPP := $(DEVKITPPC)/bin/powerpc-eabi-cpp -P CPP := $(DEVKITPPC)/bin/powerpc-eabi-cpp -P
PYTHON := python3
endif endif
CC = $(WINE) tools/mwcc_compiler/$(MWCC_VERSION)/mwcceppc.exe CC = $(WINE) tools/mwcc_compiler/$(MWCC_VERSION)/mwcceppc.exe
LD := $(WINE) tools/mwcc_compiler/$(MWLD_VERSION)/mwldeppc.exe LD := $(WINE) tools/mwcc_compiler/$(MWLD_VERSION)/mwldeppc.exe
ELF2DOL := tools/elf2dol ELF2DOL := tools/elf2dol
SHA1SUM := shasum -a 1 SHA1SUM := shasum -a 1
PYTHON := python3
TRANSFORM_DEP := tools/transform-dep.py TRANSFORM_DEP := tools/transform-dep.py
FRANK := tools/franklite.py FRANK := tools/franklite.py