mirror of
git://projects.qi-hardware.com/ben-scans.git
synced 2024-11-22 08:49:42 +02:00
6e287cdfb6
- 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
20 lines
436 B
Makefile
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)
|