# Makefile for 680x0 Linux chr_drv 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	= console.o mem.o tty_io.o tty_ioctl.o vt.o keyboard.o \
	  pty.o defkeymap.o

chr_drv.a: $(OBJS)
	$(AR) ruv chr_drv.a $(OBJS)
	$(RANLIB) chr_drv.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
