Skip to content

Generic Makefile Template with Automatic Dependency Generation

License

Notifications You must be signed in to change notification settings

repnz/auto-makefile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Makefile Template

Generic Makefile template with a good directory structure.

What I hate about makefiles is that every example out there shows a declaration of all the files and dependencies in the Makefile, so the Makefile is project dependent and needs to be changed every time dependencies between files change.

The main feature of this Makefile is Automatic Dependency Generation using gcc -M. (http://make.mad-scientist.net/papers/advanced-auto-dependency-generation/) Using this Makefile you never need to change the Makefile when changing project files! :)

$ make 
$ make debug (default)
$ make release
$ make clean

About

Generic Makefile Template with Automatic Dependency Generation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published