# Makefile for libats	-*-Makefile-*-
# Copyright (C) 1996 Alan Shutko ats@hubert.wustl.edu
# $Header: /home/ats/Classes/cs422/program3/libats/Makefile,v 1.5 1996/11/04 18:19:37 ats Exp $
#

MAKE = make
COMPRESS = gzip

OBJS = error.o pathalloc.o
SRCS = $(OBJS:.o=.c)

RUBBISH = $(OBJS) *.log *.aux *.tp *.vr *.cp *.fn *.ky *.pg libats.a

DISTFILES = $(SRCS) Makefile

all: libats.a
	@echo All done.

clean:
	-rm -f $(RUBBISH)

dist:
	tar cf libats.tar $DISTFILES
	$(COMPRESS) libats.tar

libats.a: $(OBJS)
	ar cr libats.a $(OBJS)
