beta-0.89.2
[luatex.git] / source / texk / web2c / ctiedir / Makefile
blob8edc24225cf85a5d62d4f230e21a11a16ec5fdaa
2 # Makefile for ctie distribution - 21 Dec 92
4 # This file makes CTIE and needs ctangle from cweb distribution.
7 CTANGLE=ctangle
8 BINDIR=.
9 CTIE=$(BINDIR)/ctie
11 # directory for CWEB inputs in @i files
12 CWEBINPUTS= /usr/local/lib/cweb
14 CFLAGS=
15 LDFLAGS=
16 KPATHSEAFLAGS=-lkpathsea
18 default: ctie
21 # CTIE
22 ctie.o: ctie.c
23 $(CC) $(LDFLAGS) $(CFLAGS) -DCWEBINPUTS=\"$(CWEBINPUTS)\" -c ctie.c
25 ctie: ctie.o
26 $(CC) $(LDFLAGS) $(CFLAGS) -o $(CTIE) ctie.o
28 ctie.c: ctie.w
29 $(CTANGLE) ctie
31 ctie-k.o: ctie-k.c
33 ctie-k: ctie-k.o
34 $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/ctie-k ctie-k.o $(KPATHSEAFLAGS)
36 ctie-k.c: ctie.w ctie-k.ch
37 ctangle ctie.w ctie-k.ch ctie-k.c
39 clean:
40 rm -f ctie.o ctie-k.o ctie.outc ctie.outm ctie.tex
41 rm -f ctie.log ctie.toc ctie.scn ctie.idx
42 rm -f ctiedoc.aux ctiedoc.log
44 veryclean: clean
45 rm -f $(BINDIR)/ctie $(BINDIR)/ctie-k ctie.dvi ctiedoc.dvi
47 ttest: $(CTIE)
48 $(CTIE) -c ctie.outc ctie.tie ctie.cf?
49 diff ctie.outc ctie.chf.gen
50 $(CTIE) -m ctie.outm ctie.tie ctie.cf?
51 diff ctie.outm ctie.master.gen