diff options
| author | Fuwn <[email protected]> | 2021-03-29 16:48:34 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-03-29 16:48:34 +0000 |
| commit | e021f1002dfba3964270a13bb738b08fc53c9e5b (patch) | |
| tree | 9716314097d8cda9dd0292060df1f9feae9260a7 | |
| parent | format: Capitalization (diff) | |
| download | whirl-e021f1002dfba3964270a13bb738b08fc53c9e5b.tar.xz whirl-e021f1002dfba3964270a13bb738b08fc53c9e5b.zip | |
feature: Allow `Makefile` to accept arguments
This is just useful for development.
Wondering how to use it? `make help ARGS=completions`.
| -rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,10 +1,10 @@ FLAGS = -d -v # These are just generally useful for development. help: - cargo run -- $(FLAGS) help + cargo run -- $(FLAGS) help $(ARGS) run: - cargo run -- $(FLAGS) run + cargo run -- $(FLAGS) run $(ARGS) config: - cargo run -- $(FLAGS) config + cargo run -- $(FLAGS) config $(ARGS) |