From 8699ae6e7e21604fc11a152b56daa3493f00fc8a Mon Sep 17 00:00:00 2001 From: Tauwasser Date: Tue, 29 May 2018 19:05:26 +0200 Subject: Makefile: use MD5 sums to compare ROMS instead of cmp Signed-off-by: Tauwasser --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8d0f2db..acd9480 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +MD5 := md5sum -c + .PHONY: all compare clean text .SUFFIXES: @@ -33,8 +35,8 @@ $(ROMS): $(OBJS) rgblink -d -n $(ROMS:.gb=.sym) -m $(ROMS:.gb=.map) -O $(BASEROM) -o $@ $^ rgbfix -f -v -k 01 -l 0x33 -m 0x03 -p 0 -r 3 -t "POKEMON2GOLD" $@ -compare: $(ROMS) $(BASEROM) - cmp -l $^ +compare: $(ROMS) + @$(MD5) roms.md5 # Remove files generated by the build process. clean: -- cgit v1.2.3