move output ROM to build directory

This commit is contained in:
zestydevy 2021-02-22 15:17:13 -08:00
parent 0c496d9b0e
commit 9fe2dbab0e
2 changed files with 5 additions and 5 deletions

View File

@ -46,10 +46,10 @@ default: all
TARGET = dino
LD_SCRIPT = $(TARGET).ld
all: $(BUILD_DIR) $(TARGET).z64 verify
all: $(BUILD_DIR) $(BUILD_DIR)/$(TARGET).z64 verify
clean:
rm -rf $(BUILD_DIR) $(TARGET).z64
rm -rf $(BUILD_DIR)
submodules:
git submodule update --init --recursive
@ -84,10 +84,10 @@ $(BUILD_DIR)/$(TARGET).bin: $(BUILD_DIR)/$(TARGET).elf
$(OBJCOPY) $< $@ -O binary
# final z64 updates checksum
$(TARGET).z64: $(BUILD_DIR)/$(TARGET).bin
$(BUILD_DIR)/$(TARGET).z64: $(BUILD_DIR)/$(TARGET).bin
@cp $< $@
verify: $(TARGET).z64
verify: $(BUILD_DIR)/$(TARGET).z64
md5sum -c checksum.md5
.PHONY: all clean default split setup

View File

@ -1 +1 @@
49f7bb346ade39d1915c22e090ffd748 dino.z64
49f7bb346ade39d1915c22e090ffd748 build/dino.z64