# Makefile for Amiga 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.
 
KERNELHDRS = ../../include
INCFLAGS   = -nostdinc -I$(KERNELHDRS)
CFLAGS=-Wall -DKERNEL -b linux -nostdinc $(INCFLAGS) -O2 \
	-fomit-frame-pointer -mc68020

OBJS	= console.o font.o mem.o tty_io.o tty_ioctl.o vt.o

chr_drv.a: $(OBJS)
	ar ruv chr_drv.a $(OBJS)
	ranlib chr_drv.a

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

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

.INCLUDE .IGNORE: ".depend"
