mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Refactor how Makefile invokes Bison for reusability (#1259)
Co-authored-by: Eldred Habert <eldredhabert0@gmail.com>
This commit is contained in:
@@ -360,7 +360,7 @@ int main(int argc, char *argv[])
|
||||
break;
|
||||
case 'l':
|
||||
if (linkerScriptName)
|
||||
warnx("Overriding linkerscript %s", musl_optarg);
|
||||
warnx("Overriding linker script %s", musl_optarg);
|
||||
linkerScriptName = musl_optarg;
|
||||
break;
|
||||
case 'M':
|
||||
@@ -368,12 +368,12 @@ int main(int argc, char *argv[])
|
||||
break;
|
||||
case 'm':
|
||||
if (mapFileName)
|
||||
warnx("Overriding mapfile %s", musl_optarg);
|
||||
warnx("Overriding map file %s", musl_optarg);
|
||||
mapFileName = musl_optarg;
|
||||
break;
|
||||
case 'n':
|
||||
if (symFileName)
|
||||
warnx("Overriding symfile %s", musl_optarg);
|
||||
warnx("Overriding sym file %s", musl_optarg);
|
||||
symFileName = musl_optarg;
|
||||
break;
|
||||
case 'O':
|
||||
@@ -504,7 +504,6 @@ int main(int argc, char *argv[])
|
||||
reportErrors();
|
||||
}
|
||||
|
||||
|
||||
// then process them,
|
||||
obj_DoSanityChecks();
|
||||
if (nbErrors != 0)
|
||||
|
||||
Reference in New Issue
Block a user