mirror of
https://github.com/cc65/cc65.git
synced 2025-01-29 21:31:53 +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:
parent
aa5a3035ef
commit
4add4c3396
@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user