mirror of
git://projects.qi-hardware.com/ben-scans.git
synced 2024-11-22 07:14:59 +02:00
Added "new" along with its paraphernalia.
- sfy/Makefile (new): added "new" target and the variables is uses (from cae-tools/solidify/Makefile)
This commit is contained in:
parent
252da04019
commit
26beb8af0c
15
sfy/Makefile
15
sfy/Makefile
@ -1,8 +1,16 @@
|
|||||||
PARTS = baseframe batcvr dispbase dispshell kbd lcdframe
|
PARTS = baseframe batcvr dispbase dispshell kbd lcdframe
|
||||||
|
|
||||||
|
PRJ=http://projects.qi-hardware.com/index.php/p/ben-scans/source/tree/master
|
||||||
|
DIR=$(PRJ)/data/csv
|
||||||
|
FACE_A=$(DIR)/ben-$(NAME)-$(TOP)-100um.txt.bz2
|
||||||
|
FACE_B=$(DIR)/ben-$(NAME)-$(BOTTOM)-100um.txt.bz2
|
||||||
|
|
||||||
.SUFFIXES: .sfy .inc
|
.SUFFIXES: .sfy .inc
|
||||||
|
|
||||||
.PHONY: run pov ben clean
|
.PHONY: new run pov ben clean
|
||||||
|
|
||||||
|
new:
|
||||||
|
./solidify $(NAME).sfy $(FACE_A) $(FACE_B) $(D)
|
||||||
|
|
||||||
run: $(NAME).sfy
|
run: $(NAME).sfy
|
||||||
./solidify $(NAME).sfy
|
./solidify $(NAME).sfy
|
||||||
@ -11,7 +19,7 @@ run: $(NAME).sfy
|
|||||||
./solidify -p $<
|
./solidify -p $<
|
||||||
|
|
||||||
pov: $(NAME).pov $(NAME).inc
|
pov: $(NAME).pov $(NAME).inc
|
||||||
povray +A +P -W1280 -H900 $(NAME).pov
|
povray +A -P -W1280 -H900 $(NAME).pov
|
||||||
|
|
||||||
ben: ben.pov $(PARTS:%=%.inc)
|
ben: ben.pov $(PARTS:%=%.inc)
|
||||||
povray +A +P -W1280 -H900 ben.pov
|
povray +A +P -W1280 -H900 ben.pov
|
||||||
@ -23,3 +31,6 @@ $(NAME).pov: template.pov
|
|||||||
clean:
|
clean:
|
||||||
rm -f $(PARTS:%=%.inc) $(PARTS:%=%.pov) *.pgm
|
rm -f $(PARTS:%=%.inc) $(PARTS:%=%.pov) *.pgm
|
||||||
rm -f $(PARTS:%=%.png)
|
rm -f $(PARTS:%=%.png)
|
||||||
|
|
||||||
|
xxx:
|
||||||
|
for n in $(PARTS); do ( make NAME=$$n pov && qippl $$n.png tmp; ) & done
|
||||||
|
Loading…
Reference in New Issue
Block a user