# 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  = ctype.o _exit.o open.o close.o errno.o write.o dup.o setsid.o \
	execve.o wait.o string.o bcopy.o

lib.a: $(OBJS)
	$(AR) rcs lib.a $(OBJS)
	sync

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

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