summaryrefslogtreecommitdiff
path: root/battle-e/berries/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'battle-e/berries/Makefile')
-rw-r--r--battle-e/berries/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/battle-e/berries/Makefile b/battle-e/berries/Makefile
new file mode 100644
index 0000000..1c28d80
--- /dev/null
+++ b/battle-e/berries/Makefile
@@ -0,0 +1,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 \ No newline at end of file