PWB1/root/lib/.makefile4
LIB = /lib
SRC = /sys/source
FSRC = /sys/fort
MAKE = make
AR = ar
CC = cc
CCFLAGS = -O -s
AS = -as
LD = -ld
LDFLAGS = -s
DD = TMP
STICKY = OLD
# Dependencies: set name to RC to force recomp.
CTIME = # for ctime(III).
CCDEP = # for C compiler, CC.
ASDEP = # for assembler.
YACCDEP= # for yacc(I).
LPWDEP = # for -lPW lib.
LSDEP = # for -lS lib.
LPDEP = # for -lp lib.
# ------------
# Create lib.
# ------------
MAIN: fr0.o filib.a libf.a
-rm -f $(DD)*
-@echo "\n***** Following Files Still Present:"; ls -l $(DD)*; echo "\n"
fr0.o filib.a libf.a: $(FSRC)/io/*.[sfc] \
$(FSRC)/rt/*.[sfc] \
$(FSRC)/rt1/*.[sfc] \
$(FSRC)/rt2/*.[sfc] \
$(FSRC)/makelib.m $(ASDEP)
chdir $(FSRC); $(MAKE) "LIB=$(LIB)" "CC=$(CC)" "AS=$(AS)" "DD=$(DD)" \
-f makelib.m install clean
RC: # dummy name to force re-compiling things.