home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-07-21 | 967 b | 37 lines |
- # Makefile for system utilities
-
- # Where to install them: BIN for object library, HDR for headers
- BIN = adfs::HardDisc4.$$.Lib
- HDR = adfs::HardDisc4.$$.CLib
-
- # Objects to create
- OBJS = O.Alloca O.Bag O.Bitset O.Chdir O.Deque O.Dir O.Dirscan O.Efopen \
- O.Emalloc O.Fatal O.Filelen O.Filetime O.Filetype O.Getopt O.Getwd \
- O.Map O.Message O.Mktemp O.Popen O.Queue O.Random O.Ring O.Set \
- O.Stack O.Stat O.Strcchr O.Strdup O.Strlcmp O.Strlower O.Strndup \
- O.Strnlcmp O.Strnpcpy O.Strpcpy O.Strupper O.Time O.Touch O.Regex \
- O.Caller O.ProgLimit
-
- .PHONY: all obj install clean
-
- all: $(OBJS)
- Libfile Utils -c -f O.*
- Objlib Utils -c
-
- obj: $(OBJS)
-
- install: all
- Copy H.* $(HDR).H.* FQ~C~V
- Copy Sys.H.* $(HDR).Sys.H.* FQ~C~V
- Copy Regex.H.Regex $(HDR).H.Regex FQ~C~V
- Copy Utils $(BIN).Utils FQ~C~V
-
- clean:
- Wipe O.* F~C~V
- Remove Utils
-
- # Regex library lives in a subdirectory
-
- O.Regex: Regex.C.Regex
- $(CC) $(CFLAGS) -c Regex.C.Regex
-