mirror of
https://github.com/zeldaret/tmc
synced 2026-09-06 11:05:07 -04:00
Cleaner baserom dependency handling
Instead of scaninc ignoring everything starting with baserom, we tell make which baseroms are needed and which to ignore if they come up as dependencies, depending on the version used.
This commit is contained in:
@@ -93,10 +93,7 @@ int main(int argc, char **argv)
|
||||
includeDirs.push_back(file.GetSrcDir());
|
||||
for (auto incbin : file.GetIncbins())
|
||||
{
|
||||
// Don't include incbins starting with baserom, as they might not be necessary if another variant is being built.
|
||||
if (incbin.rfind("baserom", 0) != 0) {
|
||||
dependencies.insert(incbin);
|
||||
}
|
||||
dependencies.insert(incbin);
|
||||
}
|
||||
for (auto include : file.GetIncludes())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user