aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-04-29 11:40:31 +0200
committerAstatin <[email protected]>2025-04-29 11:40:31 +0200
commit7faf16e4453f935ee1159d32ddc2a6501ea91bbb (patch)
tree5719a1f712ec896e41b3e4773322ffb083d132d0 /Makefile
parentfb689cdc68b8d1da3d988da43671bd0ddb063e88 (diff)
Give a turn for the enemies to turn around when bunny is behind them
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a5010d5..2d843f5 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,11 @@ tileset.gbasm: ./scripts/generate-tiledata.py $(wildcard ./sprites/**/* ./sprite
%.gbasm: ./%.gbtxt ./scripts/generate_from_gbtxt.py
python ./scripts/generate_from_gbtxt.py $< > $@
-build/main.rom: main.gbasm tileset.gbasm text.gbasm dialogues/text.gbasm
+build/main.rom: build/main.rom.unsigned
+ cp build/main.rom.unsigned build/main.rom
+ python scripts/set_checksums.py build/main.rom
+
+build/main.rom.unsigned: main.gbasm tileset.gbasm text.gbasm dialogues/text.gbasm
mkdir -p build
gbasm $< $@ > build/main.sym
@@ -23,4 +27,4 @@ gearboy: build/main.rom
gearboy build/main.rom build/main.sym
clean:
- rm -rf build
+ rm -rf buil1