mirror of
git://projects.qi-hardware.com/ben-scans.git
synced 2025-04-21 12:27:27 +03:00
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
This commit is contained in:
19
sfy/Makefile
Normal file
19
sfy/Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user