Add -MP option

git-svn-id: file://localhost/svn/verilator/trunk/verilator@772 77ca24e4-aefa-0310-84f0-b9a241c72d87
This commit is contained in:
Wilson Snyder
2006-08-31 15:29:15 +00:00
parent 764e067c84
commit fe99abeccc
8 changed files with 36 additions and 16 deletions
+11
View File
@@ -122,7 +122,18 @@ inline void V3FileDependImp::writeDepend(const string& filename) {
*ofp<<iter->filename()<<" ";
}
}
*ofp<<endl;
if (v3Global.opt.makePhony()) {
*ofp<<endl;
for (set<DependFile>::iterator iter=m_filenameList.begin();
iter!=m_filenameList.end(); ++iter) {
if (!iter->target()) {
*ofp<<iter->filename()<<":"<<endl;
}
}
}
}
inline void V3FileDependImp::writeTimes(const string& filename, const string& cmdlineIn) {