
$(bin)${CONSTITUENT}.nmake :: dirs
	@echo Building ${CONSTITUENT}.nmake
	@set include=$(include)
	@set lib=$(lib)
	@$(cmtexe) build -nmake constituent_makefile ${CONSTITUENT} -tag=$(tags)
	@move ${CONSTITUENT}.nmake $(bin)

##${CONSTITUENT} :: ${CONSTITUENT}.nmake
${CONSTITUENT} :: $(${CONSTITUENT}_dependencies) $(bin)${CONSTITUENT}.nmake
	@echo Starting ${CONSTITUENT}
	@set include=$(include)
	@set lib=$(lib)
	@$(MAKE) /nologo /f $(bin)${CONSTITUENT}.nmake $(MAKEFLAGS) build_strategy=keep_makefiles ${CONSTITUENT} tag=$(tag) cmt_extra_tags=$(cmt_extra_tags)

##${CONSTITUENT}clean :: ${CONSTITUENT}.nmake
${CONSTITUENT}clean :: $(${CONSTITUENT}clean_dependencies) $(bin)${CONSTITUENT}.nmake
	@echo Starting ${CONSTITUENT}clean
	@set include=$(include)
	@set lib=$(lib)
	@$(MAKE) /nologo /f $(bin)${CONSTITUENT}.nmake $(MAKEFLAGS) build_strategy=keep_makefiles ${CONSTITUENT}clean tag=$(tag) cmt_extra_tags=$(cmt_extra_tags)

