-
Notifications
You must be signed in to change notification settings - Fork 763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Many smaller .o files, kept in their own build directory #425
Comments
|
Note that if .o files aren't next to corresponding .asm files, this will no longer work: $(foreach obj, $(crystal11_obj), $(eval $(call DEP,$(obj),$(obj:11.o=.asm))))
$(foreach obj, $(crystal_obj), $(eval $(call DEP,$(obj),$(obj:.o=.asm)))) |
i imagine it would work the same as pokeruby where subdirs are created in build/pokecrystal/ |
or |
If we could create all build output in a |
What if the code mentioned a
And then the Makefile rules were changed to map
It would also need This has the advantage of the current system, that you don't need an explicit list of built files and their dependencies, plus the advantage of not cluttering source directories with build products. |
the disadvantage is it's confusing, but i guess it already is confusing to include a different file than you put in |
pokegold-spaceworld has a working solution for this. |
Could said solution be adapted to work here too? Surely it wouldn't take too much effort. |
No, because everything is in monolithic sections and |
This solution might work much better and not be so damn massive of a refactor compared to mid-kid's work, perhaps doing the mkdir on the entire build directory structure before starting the build might be the way to go with this one as yenatch once specified. When I have time I could make a PR for this specific method |
Sorry to necro this topic... Is this due to how |
It wouldn't be very different than adding Back then doing it this way gave at least a 4x speedup in clean rebuilds over the As an aside, preinclude is a nice feature but I almost prefer having an |
I think |
e.g. objects/ or temp/
Probably there are also more self-contained subsystems that can get their own .o files to improve build time.
The text was updated successfully, but these errors were encountered: