source: trunk/Jgraph/complex-examples/makefile@ 666

Last change on this file since 666 was 419, checked in by Nicholas Riley, 17 years ago

Jgraph: Debian changes by pzn@…

File size: 1.5 KB
RevLine 
[419]1STANDARD_EXAMPLES = \
2 acc.jps \
3 acc.eps \
4 alb.jps \
5 ad.jps \
6 bailey.jps \
7 ebars.jps \
8 ex1.jps \
9 ex2.jps \
10 g8.jps \
11 g8col.jps \
12 g9n10.jps \
13 gpaper.jps \
14 hypercube.jps \
15 mab2.jps \
16 nr.jps \
17 sin.jps \
18 sin1.jps \
19 sin2.jps \
20 sin3.jps \
21 wortman.jps
22
23COMPLEX_EXAMPLES = \
24 seq.jps \
25 conc.jps \
26 cow.jps \
27 cll.jps \
28 alg.jps \
29 tree1.jps \
30 tree2.jps \
31 wedmap.jps \
32 diskarray.jps \
33 mlti.jps \
34 ckpov.jps \
35 timeline.jps \
36 grex.jps
37
38TMPFILES = \
39 regs.awk \
40 srm.awk \
41 disk.awk
42
43ALL = $(STANDARD_EXAMPLES) $(COMPLEX_EXAMPLES)
44
45all: $(ALL)
46
47clean:
48 rm -f $(ALL) $(TMPFILES) sin.o
49
50sin: sin.o
51 cc -o sin sin.o -lm
52
53ad.jps: cube.eps disk.eps
54bailey.jps: bailey.pts
55ex2.jps: data.txt
56mab2.jps: mab2.times
57sin.jps: sin
58sin2.jps: sin2.pts
59sin3.jps: sin3.pts
60
61seq.jps: regs.awk convert.awk disk.awk
62conc.jps: regs.awk convert.awk disk.awk
63cow.jps: regs.awk convert.awk disk.awk
64cll.jps: regs.awk convert.awk disk.awk
65
66alg.jps: convert.awk regs.awk cow.jgr cll.jgr seq.jgr conc.jgr disk.awk
67
68diskarray.jps: disk.awk convert.awk
69
70ckpov.jps: srm.awk disk.awk convert.awk
71
72tree1.jps: tree.awk
73 ( echo "4 3" | awk -f tree.awk ; echo "xaxis size 5.4" ) |\
74 jgraph -P > tree1.jps
75 ( echo "5 2" | awk -f tree.awk ; echo "xaxis size 5" ) |\
76 jgraph -P > tree2.jps
77
78.SUFFIXES: .c .o .h .gtj .jgr .jps .awk .eps .tex .dvi
79
80.jgr.jps:
81 jgraph -P < $*.jgr > $*.jps
82
83.jgr.awk:
84 sed 's/\\/\\\\/g' $*.jgr | awk -f convert.awk > $*.awk
85
86.gtj.jps:
87 sh grtoj.sh < $*.gtj | jgraph -P > $*.jps
88
89.jgr.eps:
90 jgraph < $*.jgr > $*.eps
91
92.tex.dvi:
93 latex $*.tex
Note: See TracBrowser for help on using the repository browser.