I have some idea about make system improvements.
It will be convenient to has "MAKE_ALL_RULE_HOOK" in rules.mk for simplification of adding user rules to Makefile.
For example I want to see how much rom and ram will use my program in MCU. Yes, I can investigate my ch.map and check size of ch.bin. But it will be better to get this info in console just after building. I write simple script and add
Code: Select all
MAKE_ALL_RULE_HOOK: ram
ram: $(PROJECT).map
./ram_usage.sh
strings to my project Makefile.
I can realize this feature and contribute patch if need.