From 9fe2dbab0e1dbaf99cf4035785139a5ab8c347f8 Mon Sep 17 00:00:00 2001 From: zestydevy Date: Mon, 22 Feb 2021 15:17:13 -0800 Subject: [PATCH] move output ROM to build directory --- Makefile | 8 ++++---- checksum.md5 | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 853e3ab..0282344 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/checksum.md5 b/checksum.md5 index fce0e99..58e3024 100644 --- a/checksum.md5 +++ b/checksum.md5 @@ -1 +1 @@ -49f7bb346ade39d1915c22e090ffd748 dino.z64 +49f7bb346ade39d1915c22e090ffd748 build/dino.z64