mirror of
https://github.com/froggestspirit/wland3.git
synced 2024-11-23 05:50:00 +00:00
Merge pull request #1 from libjet/makefile-readme
Minor changes to Makefile and README
This commit is contained in:
commit
f12557e75e
18
Makefile
Normal file → Executable file
18
Makefile
Normal file → Executable 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 $@
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user