Merge branch 'makedepend'

Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
Antonio Niño Díaz
2017-04-17 19:29:25 +01:00
3 changed files with 27 additions and 2 deletions

View File

@@ -36,6 +36,9 @@ ULONG nCurrentREPTBlockCount;
ULONG ulMacroReturnValue;
extern char *tzObjectname;
extern FILE *dependfile;
/*
* defines for nCurrentStatus
*/
@@ -198,6 +201,9 @@ fstk_FindFile(char *fname)
FILE *f;
if ((f = fopen(fname, "rb")) != NULL || errno != ENOENT) {
if (dependfile) {
fprintf(dependfile, "%s: %s\n", tzObjectname, fname);
}
return f;
}