
dir=.

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

${CONSTITUENT}_dir :: 
	@if not exist ${dir} mkdir ${dir}

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

${CONSTITUENT}clean ::
        if exist ${dir}${out}_stamp del ${dir}${out}_stamp
        if exist ${dir}${out} del ${dir}${out}

