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. โก
- Host: GitHub
- URL: https://github.com/asynched/fastmake
- Owner: asynched
- Created: 2021-09-13T05:07:23.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-16T03:14:14.000Z (almost 5 years ago)
- Last Synced: 2025-12-26T11:45:38.683Z (7 months ago)
- Topics: c, cli, makefile, python
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```