mirror of
https://github.com/HackerN64/F3DEX3.git
synced 2026-01-21 10:37:45 -08:00
Merge pull request #25 from CrashOveride95/patch-1
Clean toolchain check in Makefile
This commit is contained in:
36
Makefile
36
Makefile
@@ -34,32 +34,26 @@ 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))
|
||||
ifneq (, $(shell which mips64-elf-as)
|
||||
AS := mips64-elf-as
|
||||
else ifneq (, $(shell which mips-n64-as)
|
||||
AS := mips-n64-as
|
||||
else ifneq (, $(shell which mips64-as)
|
||||
AS := mips64-as
|
||||
else ifneq (, $(shell which mips-linux-gnu-as)
|
||||
AS := mips-linux-gnu-as
|
||||
else ifneq (, $(shell which mips64-linux-gnu-as)
|
||||
AS := mips64-linux-gnu-as
|
||||
else
|
||||
ifneq (, $(shell which mips64-ultra-elf-as))
|
||||
else ifneq (, $(shell which mips-as)
|
||||
AS := mips-as
|
||||
else ifneq (, $(shell which mips64-linux-gnuabi64-as)
|
||||
AS := mips64-linux-gnuabi64-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)
|
||||
$(warning Could not find N64 assembler, not building object files)
|
||||
AS :=
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
NO_COL := \033[0m
|
||||
RED := \033[0;31m
|
||||
|
||||
Reference in New Issue
Block a user