1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-07 19:29:18 +00:00

More output when using -v.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3004 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2004-05-02 09:50:27 +00:00
parent aa5a3035ef
commit 4add4c3396

View File

@ -874,19 +874,23 @@ int main (int argc, char* argv[])
if (F == 0) {
Fatal ("Cannot open output file `%s': %s", OutputFile, strerror (errno));
}
Print (stdout, 1, "Opened output file `%s'\n", OutputFile);
/* Write the output to the file */
WriteOutput (F);
Print (stdout, 1, "Wrote output to `%s'\n", OutputFile);
/* Close the file, check for errors */
if (fclose (F) != 0) {
remove (OutputFile);
Fatal ("Cannot write to output file (disk full?)");
}
Print (stdout, 1, "Closed output file `%s'\n", OutputFile);
/* Create dependencies if requested */
if (CreateDep) {
DoCreateDep (OutputFile);
Print (stdout, 1, "Creating dependeny file");
}
}