diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmUnixMakefileGenerator.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmUnixMakefileGenerator.cxx b/Source/cmUnixMakefileGenerator.cxx index 663a6a3..7954a58 100644 --- a/Source/cmUnixMakefileGenerator.cxx +++ b/Source/cmUnixMakefileGenerator.cxx @@ -1457,7 +1457,10 @@ void cmUnixMakefileGenerator::OutputSourceObjectBuildRules(std::ostream& fout) { compileCommand += "$(CMAKE_SHLIB_CFLAGS) "; } - compileCommand += "$(INCLUDE_FLAGS) -c $< -o $@"; + compileCommand += "$(INCLUDE_FLAGS) -c "; + compileCommand += source->GetFullPath(); + compileCommand +=+ " -o "; + compileCommand += objectFile; } else { |