summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/circuit-macros/examples/xfig/Makefile
blob: 239c7a00d14e4891a18cdb14410420e186a8863a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# The distribution directory
LIBDIR = $$HOME/lib

# DPIC = $$HOME/dpic/test/dpic
DPIC = dpic

# M4 = m4 -B16000
M4 = m4 -I $(LIBDIR)

LIB = xfiglib
M4MACROS = xfig.m4

.SUFFIXES: .m4 .pic .fig
.m4.fig:
	$(M4) $(M4MACROS) $*.m4 > $*.pic
	$(DPIC) -x $*.pic > $*.fig

$(LIB).fig: $(LIB).m4

clobber: clean
	rm -f *.fig

clean:
	rm -f *.pic