1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-28 19:25:27 +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/%