


##dir=.

${CONSTITUENT} :: ${CONSTITUENT}_dir ${dir}${out}_stamp

${CONSTITUENT}_dir :: 
	@if test ! -d ${dir} ; then mkdir -p ${dir} ; fi

${dir}${out}_stamp ::
	@echo ${out}
	$(cmtexe) expand model "${model}" > ${dir}${out}_temp
	$(cmtexe) check files ${dir}${out}_temp ${dir}${out}
	@echo ${CONSTITUENT} >${dir}${out}_stamp

${CONSTITUENT}clean ::
	if test -f ${dir}${out}_stamp ; then /bin/rm ${dir}${out}_stamp; fi
	if test -f ${dir}${out} ; then /bin/rm ${dir}${out}; fi

