1
0
mirror of https://github.com/zeldaret/oot.git synced 2024-09-21 04:24:43 +00:00

Add .PHONY and add 'test' target to Makefile (#526)

This commit is contained in:
Synray 2020-12-21 16:14:25 -08:00 committed by GitHub
parent df704a9f80
commit bde4a411b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,6 +60,8 @@ AS := $(MIPS_BINUTILS_PREFIX)as
LD := $(MIPS_BINUTILS_PREFIX)ld
OBJCOPY := $(MIPS_BINUTILS_PREFIX)objcopy
OBJDUMP := $(MIPS_BINUTILS_PREFIX)objdump
EMULATOR = mupen64plus
EMU_FLAGS = --noosd
# Check code syntax with host compiler
CHECK_WARNINGS := -Wall -Wextra -Wno-format-security -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-variable -Wno-missing-braces -Wno-int-conversion
@ -193,6 +195,11 @@ setup:
python3 extract_baserom.py
python3 extract_assets.py
test: $(ROM)
$(EMULATOR) $(EMU_FLAGS) $<
.PHONY: all clean setup test
#### Various Recipes ####
build/baserom/%.o: baserom/%