1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-11 03:39:59 +00:00

Emulator related changes in the makefile (#1528)

* emu related changes to make file

* spaces

* add error

* remove unwanted file (thanks ares)
This commit is contained in:
fig02 2023-08-28 18:48:52 -04:00 committed by GitHub
parent b2787995f5
commit 2875ab4fcf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,8 +95,8 @@ AS := $(MIPS_BINUTILS_PREFIX)as
LD := $(MIPS_BINUTILS_PREFIX)ld LD := $(MIPS_BINUTILS_PREFIX)ld
OBJCOPY := $(MIPS_BINUTILS_PREFIX)objcopy OBJCOPY := $(MIPS_BINUTILS_PREFIX)objcopy
OBJDUMP := $(MIPS_BINUTILS_PREFIX)objdump OBJDUMP := $(MIPS_BINUTILS_PREFIX)objdump
EMULATOR = mupen64plus EMULATOR ?=
EMU_FLAGS = --noosd EMU_FLAGS ?=
INC := -Iinclude -Isrc -Ibuild -I. INC := -Iinclude -Isrc -Ibuild -I.
@ -269,11 +269,14 @@ setup:
python3 extract_baserom.py python3 extract_baserom.py
python3 extract_assets.py -j$(N_THREADS) python3 extract_assets.py -j$(N_THREADS)
test: $(ROM) run: $(ROM)
ifeq ($(EMULATOR),)
$(error Emulator path not set. Set EMULATOR in the Makefile or define it as an environment variable)
endif
$(EMULATOR) $(EMU_FLAGS) $< $(EMULATOR) $(EMU_FLAGS) $<
.PHONY: all clean setup test distclean assetclean .PHONY: all clean setup run distclean assetclean
#### Various Recipes #### #### Various Recipes ####