view data/ST/Makefile @ 792:11bc22bad1bf default tip

python: Replace the image crate with png We weren’t using any of its features anyway, so the png crate is exactly what we need, without the many heavy dependencies of image. https://github.com/image-rs/image-png/pull/670 will eventually make it even faster to build.
author Link Mauve <linkmauve@linkmauve.fr>
date Sat, 17 Jan 2026 22:22:25 +0100
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