summaryrefslogtreecommitdiffstats
path: root/Source/cmUnixMakefile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmUnixMakefile.cxx')
-rw-r--r--Source/cmUnixMakefile.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmUnixMakefile.cxx b/Source/cmUnixMakefile.cxx
index 7feceaf..90c887b 100644
--- a/Source/cmUnixMakefile.cxx
+++ b/Source/cmUnixMakefile.cxx
@@ -82,7 +82,12 @@ void cmUnixMakefile::OutputMakefile(const char* file)
}
fout << "\n";
}
- fout << "ME = " << this->GetLibraryName() << "\n\n";
+ if(strlen(this->GetLibraryName()) > 0)
+ {
+ fout << "ME = " << this->GetLibraryName() << "\n\n";
+ fout << "BUILD_LIB_FILE = lib${ME}${ITK_LIB_EXT}\n\n";
+ }
+
for(int i =0; i < m_MakeVerbatim.size(); i++)
{
fout << m_MakeVerbatim[i] << "\n";