SMAKE is a simple yet powerful Makefile generator written in Rust. Designed for C and C++ projects, SMAKE scans your source files for dependencies and automatically generates a Makefile. You can specify additional arguments, choose between gcc and g++ compilers, and customize your build setup.
- Automated Makefile Generation: Quickly generate a Makefile for
.cand.cppfiles. - Compiler Options: Supports both
gccandg++. - Extra Arguments: Add any extra flags or arguments to customize your build process.
- Limitations: Currently, SMAKE’s dependency resolution is non-recursive, analyzing only direct dependencies. Future versions may include recursive dependency analysis.
To install SMAKE, follow these steps:
Ensure that Rust is installed. You’ll need Cargo, Rust’s package manager, which is included with the Rust installation.
- Clone the Repository
Open a terminal and clone the repository:git clone https://github.com/teoff9/smake.git
- Cd into smake
Write
cd smake - Install it
Write in the terminal
cargo instal
Check that the cargo bin folder is added to your $PATH !! and enjoy