STANDARD_EXAMPLES = \ acc.jps \ acc.eps \ alb.jps \ ad.jps \ bailey.jps \ ebars.jps \ ex1.jps \ ex2.jps \ g8.jps \ g8col.jps \ g9n10.jps \ gpaper.jps \ hypercube.jps \ mab2.jps \ nr.jps \ sin.jps \ sin1.jps \ sin2.jps \ sin3.jps \ wortman.jps COMPLEX_EXAMPLES = \ seq.jps \ conc.jps \ cow.jps \ cll.jps \ alg.jps \ tree1.jps \ tree2.jps \ wedmap.jps \ diskarray.jps \ mlti.jps \ ckpov.jps \ timeline.jps \ grex.jps TMPFILES = \ regs.awk \ srm.awk \ disk.awk ALL = $(STANDARD_EXAMPLES) $(COMPLEX_EXAMPLES) all: $(ALL) clean: rm -f $(ALL) $(TMPFILES) sin.o sin: sin.o cc -o sin sin.o -lm ad.jps: cube.eps disk.eps bailey.jps: bailey.pts ex2.jps: data.txt mab2.jps: mab2.times sin.jps: sin sin2.jps: sin2.pts sin3.jps: sin3.pts seq.jps: regs.awk convert.awk disk.awk conc.jps: regs.awk convert.awk disk.awk cow.jps: regs.awk convert.awk disk.awk cll.jps: regs.awk convert.awk disk.awk alg.jps: convert.awk regs.awk cow.jgr cll.jgr seq.jgr conc.jgr disk.awk diskarray.jps: disk.awk convert.awk ckpov.jps: srm.awk disk.awk convert.awk tree1.jps: tree.awk ( echo "4 3" | awk -f tree.awk ; echo "xaxis size 5.4" ) |\ jgraph -P > tree1.jps ( echo "5 2" | awk -f tree.awk ; echo "xaxis size 5" ) |\ jgraph -P > tree2.jps .SUFFIXES: .c .o .h .gtj .jgr .jps .awk .eps .tex .dvi .jgr.jps: jgraph -P < $*.jgr > $*.jps .jgr.awk: sed 's/\\/\\\\/g' $*.jgr | awk -f convert.awk > $*.awk .gtj.jps: sh grtoj.sh < $*.gtj | jgraph -P > $*.jps .jgr.eps: jgraph < $*.jgr > $*.eps .tex.dvi: latex $*.tex