Date:2010-09-27 17:08:18 (13 years 6 months ago)
Author:Werner Almesberger
Commit:26beb8af0cff9191981f616d06f708cf4d747a85
Message:Added "new" along with its paraphernalia.

- sfy/Makefile (new): added "new" target and the variables is uses (from
cae-tools/solidify/Makefile)
Files: sfy/Makefile (3 diffs)

Change Details

sfy/Makefile
11PARTS = baseframe batcvr dispbase dispshell kbd lcdframe
22
3PRJ=http://projects.qi-hardware.com/index.php/p/ben-scans/source/tree/master
4DIR=$(PRJ)/data/csv
5FACE_A=$(DIR)/ben-$(NAME)-$(TOP)-100um.txt.bz2
6FACE_B=$(DIR)/ben-$(NAME)-$(BOTTOM)-100um.txt.bz2
7
38.SUFFIXES: .sfy .inc
49
5.PHONY: run pov ben clean
10.PHONY: new run pov ben clean
11
12new:
13        ./solidify $(NAME).sfy $(FACE_A) $(FACE_B) $(D)
614
715run: $(NAME).sfy
816        ./solidify $(NAME).sfy
...... 
1119        ./solidify -p $<
1220
1321pov: $(NAME).pov $(NAME).inc
14        povray +A +P -W1280 -H900 $(NAME).pov
22        povray +A -P -W1280 -H900 $(NAME).pov
1523
1624ben: ben.pov $(PARTS:%=%.inc)
1725        povray +A +P -W1280 -H900 ben.pov
...... 
2331clean:
2432        rm -f $(PARTS:%=%.inc) $(PARTS:%=%.pov) *.pgm
2533        rm -f $(PARTS:%=%.png)
34
35xxx:
36        for n in $(PARTS); do ( make NAME=$$n pov && qippl $$n.png tmp; ) & done

Archive Download the corresponding diff file

Branches:
master



interactive