# $Source: /hpux/shared/supp//usr/src/cmd/sccs/./lib/cassi/makefile,v $
# $Revision: 72.2 $

# Common makefile for building cassi.a library for sccs

LIB = ../cassi.a
HDR = ../../hdr

OBJECTS = gf.o cmrcheck.o deltack.o error.o abspath.o filehand.o

default: $(LIB)

metrics:

$(LIB): $(OBJECTS)
	rm -f $(LIB)
	ar q $(LIB) $(OBJECTS)

# Dependencies
gf.o cmrcheck.o filehand.o: $(HDR)/filehand.h
deltack.o: $(HDR)/filehand.h $(HDR)/had.h $(HDR)/defines.h

clean:
	rm -f $(OBJECTS)

clobber:	clean
	rm -f $(LIB)

.PRECIOUS:	$(LIB)
