# Makefile to compile the files BitMap.c and Rect.c which are also in maclib
# @(#)makefile	1.4 - latest delta is 8/19/85

CFLAGS =	${GLOBFLAGS} -I$(INC)
OBJS =		BitMap.o Rect.o

all:		../../${KERN_LIB}

BitMap.o: local.h
	${CC} ${CFLAGS} -DINKERNEL -c BitMap.c

Rect.o: local.h
	${CC} ${CFLAGS} -DINKERNEL -c Rect.c

local.h: $(INC)/global.h  $(INC)/MemMgr.h $(INC)/QuickDraw.h\
	$(INC)/FontMgr.h $(INC)/OSIntrface.h

../../$(KERN_LIB): ${OBJS}
	ar rv ../../$(KERN_LIB) $?
