fix python for linux

This commit is contained in:
Yanis42
2024-04-09 17:23:16 +02:00
parent a61011c82f
commit 1489760011
+4 -2
View File
@@ -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 $<