Merge pull request #1 from libjet/makefile-readme

Minor changes to Makefile and README
This commit is contained in:
Frogg 2020-08-16 00:23:15 -04:00 committed by GitHub
commit f12557e75e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 6 deletions

18
Makefile Normal file → Executable file
View File

@ -1,14 +1,22 @@
.PHONY: all compare
rom := wl3.gbc
objects := main.o
all: wl3.gbc compare
compare: baserom.gbc wl3.gbc
cmp $^
### Build targets
.PHONY: all clean compare
all: $(rom) compare
clean:
rm -f $(rom) $(objects)
compare: $(rom)
md5sum -c rom.md5
%.o: %.asm
rgbasm -o $@ $<
wl3.gbc: $(objects)
rgblink -p 0xFF -o $@ $^
rgbfix -p 0xFF -v $@
rgbfix -p 0xFF -v $@

View File

@ -2,5 +2,6 @@
Disassembly of Wario Land 3
Requires Wario Land 3 US rom named "baserom.gbc"
`MD5: 16bb3fb83e8cbbf2c4c510b9f50cf4ee`
Compiles with RGBDS
Builds with RGBDS v0.4.1

1
rom.md5 Executable file
View File

@ -0,0 +1 @@
16bb3fb83e8cbbf2c4c510b9f50cf4ee *wl3.gbc