summaryrefslogtreecommitdiff
path: root/battle-e/berries/Makefile
blob: 1c28d809633b4244281c7dbb5e59848f8ac5cfb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
all: chilan.bin drash.bin eggant.bin nutpea.bin pumkin.bin strib.bin

%.1: %.asm
	python ../../scripts/charmap.py $< $@

%.2: %.1
	rgbasm -o $@ $<

%.3: %.2
	rgblink -o $@ $<

%.4: %.3
	dd if=$< of=$@ bs=1 skip=256 count=1324

%.bin: %.4
	python ../../scripts/berrychecksum.py $< $@

clean:
	rm -f *.bin