# This project-root.jam also serves the role of Jamfile project lib3 ; use-project /lib2/helper : ../lib2/helper ; import property ; rule mfc-compile ( target : sources * : property-set * ) { PROPERTIES on $(target) = [ property.as-path [ property.remove incidental : $(property-set) ] ] ; } actions mfc-compile { echo $(PROPERTIES) > $(<) echo $(>) >> $(<) } make f.obj : f.cpp /lib2/helper//e.obj : mfc-compile ;