Browse Source

Allow overriding Python executable

master
Forest Belton 2 years ago
parent
commit
264de96461
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      Makefile

+ 4
- 2
Makefile View File

@ -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)

Loading…
Cancel
Save