home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-04-30 | 1.2 KB | 46 lines |
- #
- # makefile for family tree print utility
- #
- # (c) P. Ivimey-Cook 1994
- #
- VER = 0.3
- SRCARC = ftreesrc$(VER).lha
- BINARC = ftreebin$(VER).lha
- PROGRAM = ftree
-
- F = ftree
- EXAMPLES = $F/examples/people.info $F/examples/people \
- $F/examples/cooks.info $F/examples/cooks \
- $F/examples/mccallums.info $F/examples/mccallums
-
- DIRINFOS = ftree.info $F/libs.info $F/bin.info $F/guide.info \
- $F/ps.info $F/examples.info
-
- BINARCFILES = $F/bin/$(PROGRAM) $F/bin/$(PROGRAM).debug $F/bin/installer
- $F/ps/ftinit.ps $F/guide/ftree.guide.info $F/guide/ftree.guide \
- $F/libs/ixemul.library $F/libs/arp.library $F/install-ftree.info \
- $F/install-ftree $F/readme.info $F/readme $F/TODO.info $F/TODO \
- $(EXAMPLES) $(DIRINFOS)
-
- all: $(BINARC)
-
- $F/bin/$(PROGRAM):
- cd $F/src; $(MAKE) $(MAKEFLAGS)
- cp $F/src/$(PROGRAM) $F/bin/$(PROGRAM)
-
- $F/libs/ixemul.library:
- copy libs:ixemul.library $F/libs/ixemul.library
-
- $F/libs/arp.library:
- copy libs:arp.library $F/libs/arp.library
-
- $(BINARC): $(BINARCFILES)
- delete $(BINARC)
- lha -axr u $(BINARC) $(BINARCFILES)
- lha tv $(BINARC)
-
- $(SRCARC):
- delete $(SRCARC)
- lha -axr u $(SRCARC) src: $F/examples $F/guide $F/bin $F/libs $F/ps $F/src
- lha tv $(SRCARC)
-