
dir=.

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

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

${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 exist ${dir}${out}_stamp del ${dir}${out}_stamp
        if exist ${dir}${out} del ${dir}${out}

