mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-10 19:20:13 +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:
parent
b2787995f5
commit
2875ab4fcf
1 changed files with 7 additions and 4 deletions
11
Makefile
11
Makefile
|
@ -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 ####
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue