2 # Makefile for ctie distribution - 21 Dec 92
4 # This file makes CTIE and needs ctangle from cweb distribution.
11 # directory for CWEB inputs in @i files
12 CWEBINPUTS= /usr/local/lib/cweb
16 KPATHSEAFLAGS=-lkpathsea
23 $(CC) $(LDFLAGS) $(CFLAGS) -DCWEBINPUTS=\"$(CWEBINPUTS)\" -c ctie.c
26 $(CC) $(LDFLAGS) $(CFLAGS) -o $(CTIE) ctie.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
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
45 rm -f $(BINDIR)/ctie $(BINDIR)/ctie-k ctie.dvi ctiedoc.dvi
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