With the release of STM32CubeMX 4.21.0, generating Makefile (which is very similar to my template) is natively supported. I will retire this utility unless ST changes their mind.
This program generates a Makefile from STM32CubeMX (http://www.st.com/stm32cube) created project. It is intended to be used along with GNU Make utility (www.gnu.org/software/make) and GNU tools for ARM (https://launchpad.net/gcc-arm-embedded) to compile STM32 firmware. Refer to my blog post http://www.ba0sh1.com/opensource-stm32-development for setup of integrated development environment.
Copyright (c) 2016, Baoshi Zhu. All rights reserved.
Source code in this project is governed by Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)