Closed danwalmsley closed 9 years ago
I am suggesting we start relying on make, and generate make files from projects... then standalone devs can also build the projects... tests could also be run from command line if required.
ahhh finally. added -MMD -MP flags to compile command, this compiles and adds a list of dependencies to a list in .D file, (output next to the .o file.) Then the standard toolchain looks through the list and sees if any file has been modified since the last compile time.
Currently if a header changes that module wont get recompiled, you can end up with a program that links and cant work out why the hell it wont run, only a clean and rebuild solves it.