Skip to content
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

make the makefile keep .o files for both release and debug builds #70

Closed
DorpsGek opened this issue Mar 12, 2006 · 1 comment
Closed
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Bjarni opened the ticket and wrote:

right now when you change Makefile.config, it redo all the dependancies files and all the object files

to prevent needless recompilations, we should store the flags used to compile so we only remake the dependancies files if we changed the source file or we changed the arguments to compile it (we might have changed a flag for linking only)

to make it faster to switch between release and debug builds, the dependancy files and object files should be stored with a prefix of release and debug so we don't overwrite all release object files for making one debug build and then switch back while only changing one source file.

something like .deps/release/(all .o and .d files) would do, but .deps should be renamed if it contains object files as well. It also makes it easier to make clean since you only have to remove one dir

this would also help a lot for building universal binaries if they are stored in .deps/ppc/release and .deps/x86/release. Right now a make clean is needed between each build, so fixing universal binary issues takes a while to compile. This is not needed to be in the first commit of such a feature, it it should be possible to add without redesigning.

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/70
@DorpsGek
Copy link
Member Author

DorpsGek commented Jan 7, 2007

Rubidium closed the ticket.

Reason for closing: Implemented

In r7759.


This comment was imported from FlySpray: https://bugs.openttd.org/task/70

@DorpsGek DorpsGek closed this as completed Jan 7, 2007
@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant