#-- start of check_application_header ------

check :: ${CONSTITUENT}check
	$(echo) "(constituents.nmake) ${CONSTITUENT}check ok"
#	@echo "------> ${CONSTITUENT}check ok"

#${CONSTITUENT}check : ${CONSTITUENT} $(cmt_local_${CONSTITUENT}_makefile)
#${CONSTITUENT}check : $(cmt_local_${CONSTITUENT}_makefile)
${CONSTITUENT}check :
	@if not exist $(cmt_local_${CONSTITUENT}_makefile) $(cmtexe) -tag=$(tags) $(${CONSTITUENT}_extratags) build -nmake constituent_makefile -out=$(cmt_local_${CONSTITUENT}_makefile) ${CONSTITUENT}
	$(echo) "(constituents.nmake) Starting $@"
	@$(MAKE) /nologo /f $(cmt_local_${CONSTITUENT}_makefile) /$(MAKEFLAGS) bin=$(bin) build_strategy=keep_makefiles $@ tag=$(tag)

#${CONSTITUENT}check ::
#	@echo "------> starting ${CONSTITUENT}check"
#	@$(cmtexe) build -nmake constituent_makefile ${CONSTITUENT}
#	$(MAKE) /f ${CONSTITUENT}.nmake build_strategy=keep_makefiles ${CONSTITUENT}check

#-- end of check_application_header ------
