summaryrefslogtreecommitdiff
path: root/battle-e/berries/Makefile
diff options
context:
space:
mode:
authorHáčky <hatschky@gmail.com>2014-11-21 10:46:12 +0000
committerHáčky <hatschky@gmail.com>2014-11-21 10:46:12 +0000
commit2375d2c8db10447ae301176a2136bcad4bb42bb0 (patch)
tree00ca01a39e7bce0795a10b0c58f33e005ad4ef4c /battle-e/berries/Makefile
parent92c6af6c354d58d96d9590efee955e449a8f94c3 (diff)
Initial commit
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