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