# Makefile for 680x0 Linux lib source directory
#
# Copyright 1993 by Hamish Macdonald
#
# This file is subject to the terms and conditions of the GNU General Public
# License.  See the file "README.legal" in the main directory of this archive
# for more details.


include ../MakeVars

OBJS  = bcopy.o memset.o strcat.o strcspn.o strncpy.o strstr.o ctype.o \
	memcmp.o strchr.o strlen.o strpbrk.o strtok.o errno.o memcpy.o \
	strcmp.o strncat.o strrchr.o malloc.o memmove.o strcpy.o strncmp.o \
	strspn.o vsprintf.o _exit.o open.o wait.o __main.o sprintf.o

lib.a: $(OBJS)
	$(AR) ruv lib.a $(OBJS)
	$(RANLIB) lib.a

clean:
	$(RM) $(RMFLAGS) *.o *.a

dep:
	$(CPP) -M $(INCFLAGS) *.c > .depend

#
# include a dependency file if one exists
#
ifeq (.depend,$(wildcard .depend))
include .depend
endif
