Generic Makefile for C Projects is a generic makefile that builds a binary from C source code files. Any number of build modes are supported - Release and Debug are predefined. The CFlags and LFlags variables can be defined in a mode dependent way, i.e. CFlags_Debug. File dependencies are generated by the compiler (-MMD flag for preconfigured GNU compiler) and included by the makefile automatically. All output is written under a single target directory. It supports source files with the same name that are located in different directories. You can use wildcards to add any number of source files.
|Tags||makefile C language gcc|
Release Notes: This release contains a new "test" target which builds the »Release« mode of your project and runs it.