summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com>2019-08-04 10:07:21 +0000
committernullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com>2019-08-04 10:07:21 +0000
commit6211b0c5ecbe4a43aa3f6e8fd96e99af29caa77a (patch)
tree089a789611ad6604b4687c9c9cffbbd079a18b82
parent5c4f2bd4d38b4865ff79287b62c31cac5b655301 (diff)
Add compare to Makefile
-rwxr-xr-xMakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7e75101..cf08707 100755
--- a/Makefile
+++ b/Makefile
@@ -98,9 +98,9 @@ MAKEFLAGS += --no-print-directory
$(shell mkdir -p $(SUBDIRS))
all: $(ROM)
-ifeq ($(COMPARE),1)
+
+compare: all
@$(SHA1SUM) $(BUILD_NAME).sha1
-endif
clean: tidy
$(RM) $(ALL_OBJECTS)
@@ -130,4 +130,4 @@ $(BUILD_DIR)/data/%.o: data/%.s $$(ASM_DEP)
$(PREPROC) $< charmap.txt | $(CPP) -I include | $(AS) $(ASFLAGS) -o $@
$(BUILD_DIR)/%.o: %.s $$(ASM_DEP)
- $(AS) $(ASFLAGS) $< -o $@ \ No newline at end of file
+ $(AS) $(ASFLAGS) $< -o $@