An open API service indexing awesome lists of open source software.

https://github.com/asynched/fastmake

Fastmake is a CLI build tool for when you don't want to write a makefile from scratch. โšก
https://github.com/asynched/fastmake

c cli makefile python

Last synced: 3 months ago
JSON representation

Fastmake is a CLI build tool for when you don't want to write a makefile from scratch. โšก

Awesome Lists containing this project

README

          

# Fastmake โšก

Fastmake is a CLI build tool for when you don't want to write a makefile from scratch. Fastmake will bundle and compile all your files in the source directory and generate an executable.

### Installation ๐Ÿ”ฌ

1. Clone this repository. ๐Ÿ“
2. Add an alias to the `main.py` file. ๐Ÿ
3. Ready to go. ๐ŸŒ๏ธโ€โ™‚๏ธ

### Usage ๐Ÿฅผ

To generate an executable, just use the `-t` flag and point it to your source folder

```sh
$ fastmake -t src -e my_app.exe
```

### Flags ๐Ÿšฉ

| Flag | Usage |
| --------------- | ------------------------------------------------------------------------- |
| [TARGET] -t | Root folder of your project (where all you're files are stored) |
| [COMPILER] -c | Chosen compiler to compile your program (optional, defaults to gcc) |
| [FLAGS] -f | Add additional flags to the build command (optional, defaults to ENABLED) |
| [EXECUTABLE] -e | Add a name to your generated executable (optional, defaults to 'main') |
| [FILE TYPE] -ft | Add a filetype as a default to generate the executable (defaults to .c) |
| [HELP] -h | Terminal helper with examples |

### Want to try it out? ๐Ÿงช

1. Clone this repository

```sh
$ git clone https://github.com/Nxrth-x/fastmake.git
```

2. Add an alias

```sh
$ alias fastmake="python main.py"
```

3. Generate an executable

```sh
$ fastmake -t example -e my_app.exe
```