mirror of
https://github.com/zeldaret/ph
synced 2026-08-08 10:33:17 -04:00
fix python for linux
This commit is contained in:
@@ -10,8 +10,10 @@ endif
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
WINE :=
|
||||
PYTHON ?= python
|
||||
else
|
||||
WINE := wine
|
||||
PYTHON ?= python3.11
|
||||
endif
|
||||
|
||||
ROOT := $(shell pwd)
|
||||
@@ -110,7 +112,7 @@ clean:
|
||||
|
||||
.PHONY: lcf
|
||||
lcf: setup $(TOOLS_DIR)/lcf.py
|
||||
python $(TOOLS_DIR)/lcf.py
|
||||
$(PYTHON) $(TOOLS_DIR)/lcf.py
|
||||
|
||||
$(ASM_OBJS): $(TARGET_DIR)/%.o: %
|
||||
mkdir -p $(dir $@)
|
||||
@@ -135,4 +137,4 @@ $(OV_LZS): %.lz: %.bin
|
||||
gen_externs: $(ASM_INCS)
|
||||
|
||||
$(ASM_INCS): %.inc: %.s
|
||||
python $(TOOLS_DIR)/gen_externs.py $<
|
||||
$(PYTHON) $(TOOLS_DIR)/gen_externs.py $<
|
||||
|
||||
Reference in New Issue
Block a user