1
0
mirror of git://projects.qi-hardware.com/ben-scans.git synced 2024-11-22 08:49:42 +02:00
ben-scans/sfy/Makefile
Werner Almesberger 6e287cdfb6 Makefile and helper scripts for running solidify and POV-Ray.
- sfy/Makefile: shortcuts for common operations. Based on solidify/Makefile
- sfy/solidify: wrapper to invoke solidify over at cae-tools
- sfy/template.pov: standard scene template, from cae-tools/solidify
2010-09-27 02:46:54 -03:00

20 lines
436 B
Makefile

PROJECTS = baseframe batcvr dispbase dispshell kbd lcdframe
.PHONY: run pov clean
run: $(NAME).sfy
./solidify $(NAME).sfy
$(NAME).inc: $(NAME).sfy
./solidify -p $(NAME).sfy
pov: $(NAME).pov $(NAME).inc
povray +A +P -W1280 -H900 $(NAME).pov
$(NAME).pov: template.pov
sed 's/NAME/$(NAME)/' template.pov >$@ || { rm -f $@; exit 1; }
clean:
rm -f $(PROJECTS:%=%.inc) $(PROJECTS:%=%.pov) *.pgm
rm -f $(PROJECTS:%=%.png)