mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-28 19:25:27 +00:00
Makefile: Change EMULATOR :=
to N64_EMULATOR ?=
(#1608)
* ``EMULATOR :=`` -> ``N64_EMULATOR ?=`` * change other instances of EMULATOR and removed EMU_FLAGS * missing one EMULATOR
This commit is contained in:
parent
cd917b0cb8
commit
8a09f33c8f
1 changed files with 9 additions and 9 deletions
10
Makefile
10
Makefile
|
@ -105,8 +105,8 @@ AS := $(MIPS_BINUTILS_PREFIX)as
|
|||
LD := $(MIPS_BINUTILS_PREFIX)ld
|
||||
OBJCOPY := $(MIPS_BINUTILS_PREFIX)objcopy
|
||||
OBJDUMP := $(MIPS_BINUTILS_PREFIX)objdump
|
||||
EMULATOR :=
|
||||
EMU_FLAGS :=
|
||||
|
||||
N64_EMULATOR ?=
|
||||
|
||||
INC := -Iinclude -Iinclude/libc -Isrc -I$(BUILD_DIR) -I.
|
||||
|
||||
|
@ -282,10 +282,10 @@ setup:
|
|||
python3 extract_assets.py -j$(N_THREADS)
|
||||
|
||||
run: $(ROM)
|
||||
ifeq ($(EMULATOR),)
|
||||
$(error Emulator path not set. Set EMULATOR in the Makefile or define it as an environment variable)
|
||||
ifeq ($(N64_EMULATOR),)
|
||||
$(error Emulator path not set. Set N64_EMULATOR in the Makefile or define it as an environment variable)
|
||||
endif
|
||||
$(EMULATOR) $(EMU_FLAGS) $<
|
||||
$(N64_EMULATOR) $<
|
||||
|
||||
|
||||
.PHONY: all clean setup run distclean assetclean
|
||||
|
|
Loading…
Reference in a new issue