#sccs	"@(#)mld:Makefile	1.5"

include $(MAKEINC)/Makepre.h

SUBDIRS=m68k

all:    comall

clean:  comclean

clobber: comclobber

install: cominstall

includes:
	cd m68k; $(MAKE) includes

populate: $(SUBDIRS) common sdpsrc
	UNIT=`cat .unit`; export UNIT; \
	for D in sdpsrc; \
	do \
		( \
		cd $$D; echo "$$UNIT/$$D" >.unit; echo "** $$D **:"; \
		getunit ; $(MAKE) populate; \
		) \
	done
	UNIT=`cat .unit`; export UNIT; \
	for D in $(SUBDIRS) common; \
	do \
		( \
		cd $$D; echo "$$UNIT/$$D" >.unit; echo "** $$D **:"; getunit ; \
		) \
	done

$(SUBDIRS) common sdpsrc:
	mkdir $@

include $(MAKEINC)/Makepost.h
