Skip to content

A generic makefile for C/C++ projects in a GNU/Linux environment that is designed to do automatic dependency generation and linking. It also includes rules to build and run unit tests (google test, or cppunit), generate doxygen docs, run code check tools (clang-check and cppcheck), and format the source code using clang-format.

License

slash-dev-random/magic-makefile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains a generic makefile for C/C++ projects in a Linux 
environment.  It does automatic dependency generation and linking.  The
Project Makefile is designed to build all items under the source tree.  The
Workspace Makefile is designed to reside in a folder containing multiple
projects.  The Workspace Makefile assumes all the Projects in its directory
use the Project Makefile and are structured accordingly.  It does NOT do a
recursive make but instead reads the build definitions in each Project's
make/ directory and builds them accordingly.  More information about setting
up a Project using this makefile can be found in the Project README.txt

About

A generic makefile for C/C++ projects in a GNU/Linux environment that is designed to do automatic dependency generation and linking. It also includes rules to build and run unit tests (google test, or cppunit), generate doxygen docs, run code check tools (clang-check and cppcheck), and format the source code using clang-format.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published