https://github.com/gpenverne/fuck-make
Override makefile using custom makefile
https://github.com/gpenverne/fuck-make
bash makefile ubuntu
Last synced: about 1 month ago
JSON representation
Override makefile using custom makefile
- Host: GitHub
- URL: https://github.com/gpenverne/fuck-make
- Owner: gpenverne
- License: mit
- Created: 2019-01-28T15:52:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-28T16:53:24.000Z (over 7 years ago)
- Last Synced: 2025-06-04T07:16:33.848Z (about 1 year ago)
- Topics: bash, makefile, ubuntu
- Language: Shell
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fuck-make
Override makefile using custom makefile.
## Install
### Copy the fmake binary:
```bash
$ wget https://github.com/gpenverne/fuck-make/raw/master/binaries/fmake
$ sudo mv ./fmake /usr/bin/fmake
```
### Or install using apt-get
```bash
$ echo "deb https://github.com/gpenverne/fuck-make/binaries ./" | sudo tee --append /etc/apt/sources.list.d/fuck-make
$ sudo apt-get update
$ sudo apt-get install fuck-make
```
### Or install using .deb file
```bash
$ wget https://github.com/gpenverne/fuck-make/raw/master/binaries/fmake.deb
$ sudo dpkg -i ./fmake.deb && rm ./fmake.deb
```
## Usage
- First, launch fmake from your project dir to create a `.makefile.override`:
```bash
$ fmake
```
- Edit the `.makefile.override` file, and write custom commands, or override commands, or override variables :)
- Play your make commands using fmake instead of make:
```bash
$ fmake my-command
```