Well, thats my problem, the makefile is auto-generated in the Debug directory. That directory you don't want to check in to git. So if you check out the project first time, there is no makefile. First you have to open CubeMX and build the project. Th...