mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Deps file can only be created if object file specified
Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
@@ -403,6 +403,9 @@ main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
if (dependfile) {
|
||||
if (!tzObjectname)
|
||||
errx(1, "Dependency files can only be created if an output object file is specified.\n");
|
||||
|
||||
fprintf(dependfile, "%s: %s\n", tzObjectname, tzMainfile);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user