// headers
// ----------------------------------------------------------------------------
-#include <wx/string.h>
-#include <wx/file.h>
-#include <wx/ffile.h>
-#include <wx/app.h>
-#include <wx/log.h>
-#include <wx/dir.h>
-#include <wx/textfile.h>
-#include <wx/datetime.h>
-#include <wx/cmdline.h>
+#include "wx/string.h"
+#include "wx/file.h"
+#include "wx/ffile.h"
+#include "wx/app.h"
+#include "wx/log.h"
+#include "wx/dir.h"
+#include "wx/textfile.h"
+#include "wx/datetime.h"
+#include "wx/cmdline.h"
// ----------------------------------------------------------------------------
// the application class
return FALSE;
}
- wxFFile fileOut(m_outdir + filename, "w");
+ wxString fileOutName;
+ fileOutName << m_outdir << _T('/') << filename;
+ wxFFile fileOut(fileOutName, "w");
if ( !fileOut.IsOpened() )
{
wxLogError(_T("Makefile '%s' couldn't be generated."), filename.c_str());
}
wxLogVerbose(_T("Generating '%s' for '%s'..."),
- (m_outdir + filename).c_str(), m_progname.c_str());
+ fileOutName.c_str(), m_progname.c_str());
size_t count = fileIn.GetLineCount();
for ( size_t n = 0; n < count; n++ )