home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-05-21 | 1.9 KB | 74 lines |
- # This file makes WEB-related programs: tangle, weave, and pooltype.
- # tangle is made using the supplied version. When upgrading, this will
- # be sufficient to build the new tangle.
-
- # Routines used everywhere.
- commondefines=^.lib.common_def ^.lib.texmf_def
- commonh=^.lib.h.common ^.lib.h.texmfmem
- commono=^.lib.o.library
-
- CC = cc
- CFLAGS = -throwback -W -f
- CPPFLAGS = -I^.lib
-
- CCLD = link
- LDFLAGS =
- libs = $(commono) C:o.Stubs $(extralibs)
-
- default: triptrap
-
- all: triptrap exec.weave exec.pooltype
-
- triptrap: exec.tangle
-
- exec.tangle: o.tangle $(commono)
- $(CCLD) -o exec.tangle $(LDFLAGS) o.tangle $(libs)
- squeeze exec.tangle
- o.tangle: c.tangle $(commonh)
- $(CC) $(CFLAGS) $(CPPFLAGS) -c tangle
- c.tangle: tangle.p $(commondefines)
- ^.lib.convert tangle c.tangle
- tangle.p: tangle.web tangle.ch
- tangle tangle.web tangle.ch
-
- exec.weave: o.weave $(commono)
- $(CCLD) -o exec.weave $(LDFLAGS) o.weave $(libs)
- squeeze exec.weave
- o.weave: c.weave $(commonh)
- $(CC) $(CFLAGS) $(CPPFLAGS) -c weave
- c.weave: weave.p $(commondefines)
- ^.lib.convert weave c.weave
- weave.p: weave.web weave.ch
- tangle weave.web weave.ch
-
-
- exec.pooltype: o.pooltype $(commono)
- $(CCLD) -o exec.pooltype $(LDFLAGS) o.pooltype $(libs)
- squeeze exec.pooltype
- o.pooltype: c.pooltype $(commonh)
- $(CC) $(CFLAGS) $(CPPFLAGS) -c pooltype
- c.pooltype: pooltype.p $(commondefines)
- ^.lib.convert pooltype c.pooltype
- pooltype.p: pooltype.web pooltype.ch
- tangle pooltype.web pooltype.ch
-
-
- clean:
- remove tangle.p
- remove weave.p
- remove pooltype.p
- remove o.tangle
- remove o.weave
- remove o.pooltype
- remove c.tangle
- remove c.weave
- remove c.pooltype
- remove h.tangle
- remove h.weave
- remove h.pooltype
-
- veryclean:
- remove exec.weave # NEVER remove tangle!
- remove exec.pooltype
-
-