>> It is not clear what the conflict is here. Are you creating several map.o >> files from the same map.cc? why? > > He's using a non-recursive build system that pulls source files of the same > name from two different sub-directories. The resulting object files are named > the same, and stored in the same directory, so there's a conflict. He's tried > using the automake option to generate objects in the source directory, but > that didn't work for reasons he outlined (but I wasn't clear on). >
What I would really like to be able to do is to customise the method that automake uses generates the object file names from the source file names so I can specify my own algorithm for determining what object file name to use from the source file name. Is this easily feasible?