
# Makefile to compile the OS modules CadMac related

SHELL	=	/bin/sh
MAKE =		make
INC	=	../../../../../include/mac
KERN_LIB = 	libcadmac

DIRS =		OSEventMgr OSPixel OSLayerMgr # QuickDraw newblt

all:		dirs ../$(KERN_LIB)(__.SYMDEF)

dirs:
	for i in $(DIRS); do \
	cd $$i ; $(MAKE) "INC = $(INC)" "KERN_LIB = $(KERN_LIB)" ; cd .. ; done

../$(KERN_LIB)(__.SYMDEF): ../$(KERN_LIB)
	ranlib ../$(KERN_LIB)

