An example on using make file to compile some codes.

Here is the link to the source code on github.
Short Description
This makefile script uses config.mk file to get the desired .c files and then compiles each file to get the .o files and the MainApp.exe, in case of make all it creates .d files also and in case of make clean it removes all the files that were created by the make file.