diff options
author | marha <marha@users.sourceforge.net> | 2010-10-22 14:00:01 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-10-22 14:00:01 +0000 |
commit | d74d9f4e60e48260ff1fad3ff00aaf000f111a66 (patch) | |
tree | fcf6ceee3ec04dc8521bbf12453d95cbe187dc40 /tools/mhmake/src/mhmake.cpp | |
parent | 5a05343a8071f769d092d5bb6bdea9adf65eda9c (diff) | |
download | vcxsrv-d74d9f4e60e48260ff1fad3ff00aaf000f111a66.tar.gz vcxsrv-d74d9f4e60e48260ff1fad3ff00aaf000f111a66.tar.bz2 vcxsrv-d74d9f4e60e48260ff1fad3ff00aaf000f111a66.zip |
Increased gnu make compatibility
Optimised
Diffstat (limited to 'tools/mhmake/src/mhmake.cpp')
-rw-r--r-- | tools/mhmake/src/mhmake.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/mhmake/src/mhmake.cpp b/tools/mhmake/src/mhmake.cpp index db9a13682..6d99e5f3d 100644 --- a/tools/mhmake/src/mhmake.cpp +++ b/tools/mhmake/src/mhmake.cpp @@ -1,6 +1,6 @@ /* This file is part of mhmake.
*
- * Copyright (C) 2001-2009 Marc Haesen
+ * Copyright (C) 2001-2010 marha@sourceforge.net
*
* Mhmake is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -120,17 +120,17 @@ int __CDECL main(int argc, char* argv[]) {
g_Clean=true;
}
- refptr<fileinfo> pTarget=GetFileInfo(*It,pFirstMakefile->m_MakeDir);
+ fileinfo *pTarget=GetFileInfo(*It,pFirstMakefile->m_MakeDir);
pFirstMakefile->m_pParser->BuildTarget(pTarget);
It++;
}
}
else
{
- refptr<fileinfo> FirstTarget=pFirstMakefile->m_pParser->GetFirstTarget();
- if (FirstTarget)
+ fileinfo *pFirstTarget=pFirstMakefile->m_pParser->GetFirstTarget();
+ if (pFirstTarget)
{
- pFirstMakefile->m_pParser->BuildTarget(FirstTarget);
+ pFirstMakefile->m_pParser->BuildTarget(pFirstTarget);
}
else
cout << "Warning: no targets in makefile. Nothing to be build.\nMHMAKECONF defined?\n";
|