From 36be594786a74f218152b599fc4bb98a9188e994 Mon Sep 17 00:00:00 2001 From: Ethan Roseman Date: Sat, 25 Apr 2020 01:52:11 -0400 Subject: [PATCH] OK --- papermario/Makefile | 7 +++++-- papermario/checksum.md5 | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 papermario/checksum.md5 diff --git a/papermario/Makefile b/papermario/Makefile index 0180b05387..fc8bd762a4 100644 --- a/papermario/Makefile +++ b/papermario/Makefile @@ -39,7 +39,7 @@ default: all MAKEFILE_SPLIT = Makefile.split include $(MAKEFILE_SPLIT) -all: fix_asm $(TARGET).z64 +all: fix_asm $(TARGET).z64 verify clean: rm -rf build @@ -64,7 +64,7 @@ $(BUILD_DIR)/$(TARGET).bin: $(BUILD_DIR)/$(TARGET).elf # final z64 updates checksum $(TARGET).z64: $(BUILD_DIR)/$(TARGET).bin - $(N64CKSUM) $< $@ + cp $< $@ fix_asm: ./fix_asm.py @@ -81,4 +81,7 @@ test: $(TARGET).z64 load: $(TARGET).z64 $(LOADER) $(LOADER_FLAGS) $< +verify: $(TARGET).z64 + md5sum -c checksum.md5 + .PHONY: all clean default diff test diff --git a/papermario/checksum.md5 b/papermario/checksum.md5 new file mode 100644 index 0000000000..fd4c2a0e6f --- /dev/null +++ b/papermario/checksum.md5 @@ -0,0 +1 @@ +a722f8161ff489943191330bf8416496 PAPERMARIO.z64