source: trunk/VUT/doc/SciReport/figs/makefile @ 243

Revision 243, 594 bytes checked in by bittner, 19 years ago (diff)

SciReport? template

RevLine 
[243]1
2FIG := $(shell ls *.fig)
3
4OBJ := $(shell ls *.obj)
5
6EPS = ${FIG:.fig=.eps} ${OBJ:.obj=.eps}
7
8PDF = ${FIG:.fig=.pdf} ${OBJ:.obj=.pdf}
9
10
11DEFAULT: $(EPS) $(PDF)
12
13pdf:
14        @make $(PDF)
15
16eps:
17        @make $(EPS)
18
19clean:
20        rm -f $(EPS) $(PDF)
21
22
23.SUFFIXES: .fig .eps .pdf .obj
24
25
26.fig.eps:
27        @echo "Converting $< to $@ ..."
28        @fig2dev -L eps $< $@
29        @echo "done."
30
31.eps.pdf:
32        @echo "Converting $< to $@ ..."
33        @epstopdf $<
34        @echo "done."
35
36
37.obj.eps:
38        @echo "Converting $< to $@ ..."
39        @tgif -print -color -eps $< $@
40        @echo "done."
41
42#.obj.pdf:
43#       @echo "Converting $< to $@ ..."
44#       @tgif -eps $< $@
45#       @echo "done."
Note: See TracBrowser for help on using the repository browser.