From 1489760011e6f637315f8e91308fe93cad69157c Mon Sep 17 00:00:00 2001 From: Yanis42 <35189056+Yanis42@users.noreply.github.com> Date: Tue, 9 Apr 2024 17:23:16 +0200 Subject: [PATCH] fix python for linux --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 85bd8cb1..cbc11098 100644 --- a/Makefile +++ b/Makefile @@ -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 $<