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

all: $(LIBDEST)

include $(GLDIR)/Make.common

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