# Makefile fragment to include for a library.
#  Set TOPDIR, LIBDEST, and OBJS before including.

all: $(LIBDEST)

include $(TOPDIR)/Make.common

$(LIBDEST): $(OBJS)
	-rm $(LIBDEST)   # prevents errors caused by stale .o's in .a
	ar crs $(LIBDEST) $(OBJS)
