Uses GLOBAL_{C,CPP,S}_* variable only in config templates
Adds config_templates/bin_common.mk building either an application or a staticlib