Aaargh... not all the paths were relative. Had to manually edit project/make-files.