view data/ST/Makefile @ 772:7492d384d122 default tip

Rust: Add a Glide renderer (2D only for now) This is an experiment for a Rust renderer, iterating over the Python data using pyo3. It requires --feature=glide to be passed to cargo build, doesn’t support NPOT textures, text rendering, the background, or even msg faces, some of that may come in a future changeset.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 05 Sep 2022 17:53:36 +0200
parents 016f6b937893
children
line wrap: on
line source

PNG := stg1bg.png face.png eff01.png stg1enm.png etama3.png etama4.png player00.png
ANM := stg1bg.anm face00a.anm face00b.anm face00c.anm face03a.anm face03b.anm eff01.anm stg1enm2.anm stg1enm.anm stg1enm2.anm etama3.anm etama4.anm player00.anm
OTHER := stage1.std ecldata1.ecl msg1.dat

all: $(PNG) $(ANM) $(OTHER)

%.png: %.svg
	inkscape -e $@ $<

%.anm: %.script
	thanm c $@ $<

ecldata1.ecl: make_ecl.py
	PYTHONPATH=../../ python3 make_ecl.py

stage1.std: make_stage.py
	PYTHONPATH=../../ python3 make_stage.py

msg1.dat: msg1.script
	thmsg c6 msg1.script msg1.dat

# Those should have their own script.
face00b.anm: face03a.script
	thanm c $@ $<

face00c.anm: face03a.script
	thanm c $@ $<

face03b.anm: face03a.script
	thanm c $@ $<

clean:
	$(RM) $(PNG) $(ANM) $(OTHER)

.PHONY: all clean