From b6879ceee4134a5490fe4e098291f6e0f523eb6f Mon Sep 17 00:00:00 2001 From: Sauraen Date: Sat, 26 Apr 2025 11:54:07 -0700 Subject: [PATCH] Added some more tries for what the N64 assembler might be called --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Makefile b/Makefile index 29982be..4fbd911 100644 --- a/Makefile +++ b/Makefile @@ -31,20 +31,32 @@ ifeq ($(PARENT_OUTPUT_DIR),.) endif # Find the N64 toolchain, for creating object files. +ifneq (, $(shell which mips64-linux-gnuabi64-as)) + AS := mips64-linux-gnuabi64-as +else ifneq (, $(shell which mips64-linux-gnu-as)) AS := mips64-linux-gnu-as else ifneq (, $(shell which mips64-ultra-elf-as)) AS := mips64-ultra-elf-as else +ifneq (, $(shell which mips64-elf-as)) + AS := mips64-elf-as +else ifneq (, $(shell which mips64-as)) AS := mips64-as +else +ifneq (, $(shell which mips-linux-gnu-as)) + AS := mips-linux-gnu-as else $(warning Could not find N64 linker, not building object files) AS := endif endif endif +endif +endif +endif NO_COL := \033[0m RED := \033[0;31m