diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-11-07 19:55:49 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-11-07 19:55:49 (GMT) |
commit | 72d683e0eed03329302374ec3d0f4ca3eacd93ee (patch) | |
tree | 2a78d14644fb50203cd4a696fe162eaf46a57737 /Source/cmUnixMakefileGenerator.cxx | |
parent | e7616c5b92d89922ed9fc27bc4c11e860d2c46aa (diff) | |
download | CMake-72d683e0eed03329302374ec3d0f4ca3eacd93ee.zip CMake-72d683e0eed03329302374ec3d0f4ca3eacd93ee.tar.gz CMake-72d683e0eed03329302374ec3d0f4ca3eacd93ee.tar.bz2 |
ENH: use full source name for c code as well as c++
Diffstat (limited to 'Source/cmUnixMakefileGenerator.cxx')
-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 { |