generalized prj refs in makefile