|
|
@ -1,3 +1,5 @@ |
|
|
|
PYTHON ?= python |
|
|
|
|
|
|
|
# Graphics
|
|
|
|
SPRITE_PNG := $(shell find png/sprite -type f -name '*.png') |
|
|
|
|
|
|
@ -26,10 +28,10 @@ $(OFILES): $(SPRITE_2BPP) |
|
|
|
rgbasm -i inc -o $@ $< |
|
|
|
|
|
|
|
png/map/%.s png/map/%.inc: png/map/%.png png/map/%_coll.png |
|
|
|
python scripts/generate_map.py $< |
|
|
|
$(PYTHON) scripts/generate_map.py $< |
|
|
|
|
|
|
|
png/sprite/%.2bpp: png/sprite/%.png |
|
|
|
rgbgfx -o $@ $< |
|
|
|
|
|
|
|
clean: |
|
|
|
rm -f is.gb is.gb.sym $(OFILES) $(MAP_S) $(MAP_INC) $(SPRITE_2BPP) |
|
|
|
rm -f is.gb is.gb.sym $(OFILES) $(MAP_S) $(MAP_INC) $(SPRITE_2BPP) |