Automatically generate a Makefile for a C/C++ codebase. Includes support for protobuf files, gRPC service definitions, and CCH files.
makefile.py is designed to be run each time you would run make
.
It determines all relevant source files, parses them to recreate the
dependency graph, and outputs a Makefile that can then be run normally with make
.
One goal of this project is to have minimal dependencies:
- GNU Make
- Python 3.x
Pull requests are welcome. Some ideas: