Put auto-deduced target names in the same directory as the source file.