Build: core/Makefile - Major overhaul#647
Build: core/Makefile - Major overhaul#647HeckHeckHeckHeck wants to merge 2 commits intoelectro-smith:masterfrom
Conversation
|
i still think it present a cleaner, more declarative layer to the makefile based build. |
|
@HeckHeckHeckHeck this is on my list to get to looking at either for this release or the next. I agree that this may be a better approach to the make build, and make user-level customizations more accessible. While I am gradually moving to CMake (mostly to better integrate with a desktop prototyping environment i've been tinkering with), most of my projects are still using the Make build system. I have several projects that have a bit of extra settings in their Makefiles. So I'm planning on going through several of them to confirm backwards compatibility, and see how the changes may allow me (and others) to potentially simplify their own Makefiles a bit. If there are no issues w/ compatibility, etc. I expect this should be mergeable. |
Aims And Claims
Changes
Makefile.conf- declarative build settings interfaceCFLAGS, CXXFLAGS, ASFLAGS, LDFLAGSDEBUGbuildUSER_SUFFIX_CXX)New Build Options
STARTUP_CODE{ASM, C}USER_SUFFIX_CXXC_STANDARDCXX_STANDARDGCC_SPECSAPP_TYPE'CUSTOM' - allows custom linkerscriptLDSCRIPT