From 78019ea4a028b5b533dd23d713839b8981f7b387 Mon Sep 17 00:00:00 2001 From: thecozies Date: Tue, 20 Jul 2021 05:57:51 -0500 Subject: [PATCH] Print SHA1 with successful builds with message that it was successful --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 56dbaabb..bd83f821 100644 --- a/Makefile +++ b/Makefile @@ -478,6 +478,9 @@ all: $(ROM) ifeq ($(COMPARE),1) @$(PRINT) "$(GREEN)Checking if ROM matches.. $(NO_COL)\n" @$(SHA1SUM) --quiet -c $(TARGET).sha1 && $(PRINT) "$(TARGET): $(GREEN)OK$(NO_COL)\n" || ($(PRINT) "$(YELLOW)Building the ROM file has succeeded, but does not match the original ROM.\nThis is expected, and not an error, if you are making modifications.\nTo silence this message, use 'make COMPARE=0.' $(NO_COL)\n" && false) +else + @$(SHA1SUM) $(ROM) + @$(PRINT) "${GREEN}Build succeeded.\n" endif clean: