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