Skip to content
/ smake Public

Simple Make : generates a Makefile from a single cpp file.

Notifications You must be signed in to change notification settings

teoff9/smake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMAKE

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.

Features

  • Automated Makefile Generation: Quickly generate a Makefile for .c and .cpp files.
  • Compiler Options: Supports both gcc and g++.
  • 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.

Installation

To install SMAKE, follow these steps:

Prerequisites

Ensure that Rust is installed. You’ll need Cargo, Rust’s package manager, which is included with the Rust installation.

Steps to Install

  1. Clone the Repository
    Open a terminal and clone the repository:
    git clone https://github.com/teoff9/smake.git
  2. Cd into smake Write
    cd smake
  3. Install it Write in the terminal
    cargo instal
    

Check that the cargo bin folder is added to your $PATH !! and enjoy

About

Simple Make : generates a Makefile from a single cpp file.

Resources

Stars

Watchers

Forks

Packages

No packages published