#-- start of dependencies ------------------

dependencies : $(bin)${CONSTITUENT}_dependencies.nmake

$(bin)${CONSTITUENT}_dependencies.nmake : $(use_requirements) $(cmt_final_setup_${CONSTITUENT})
	$(echo) (${CONSTITUENT}.nmake) Rebuilding $@
	$(build_dependencies) -out:$@ -start_all ${LINE} -end_all $(includes) $(app_${CONSTITUENT}_cppflags) $(lib_${CONSTITUENT}_cppflags) -name:${CONSTITUENT} $? -f=$(cmt_dependencies_in_${CONSTITUENT}) -without_cmt

!if exist ($(bin)${CONSTITUENT}_dependencies.nmake)
!include $(bin)${CONSTITUENT}_dependencies.nmake
!endif

${CONSTITUENT}clean ::
	-$(cleanup_silent) if exist $(bin)${CONSTITUENT}_dependencies.nmake del $(bin)${CONSTITUENT}_dependencies.nmake
	$(cleanup_silent) if exist $(bin)${CONSTITUENT}_deps rmdir /S /Q $(bin)${CONSTITUENT}_deps
#-- end of dependencies -------------------
