Default target is the main program. Use implicit rule for main program. Generate .d file at compilation time instead of using specific rules Fix CFLAGS CPPFLAGS usage
Implicit C compilation use CPPFLAGS (https://www.gnu.org/software/make/manual/html_node/Catalogue-of-Rules.html) The real flag for error checking is Werror
This makefile check file dependecies (.h) Idea from 5c644cfd35/Makefile
5c644cfd35/Makefile