aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorczjstmax <jstmaxlol@disroot.org>2026-05-14 18:33:34 +0200
committerczjstmax <jstmaxlol@disroot.org>2026-05-14 18:33:34 +0200
commitb1cf9ca888c3df3b20382f6daea35c6a58d06ec4 (patch)
treea3125425911e84f6271e034366fb77d995e8cd1b /README.md
parent2452d534e5a3f4cebd28f89d0606a5f61f8d4b37 (diff)
add documentation and extra flagsHEADmaster
Signed-off-by: czjstmax <jstmaxlol@disroot.org>
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/README.md b/README.md
index 86d40be..41ca9dc 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,26 @@ a **suckless** and **minimal**, **POSIX C99** alternative to `Makefile`/`justfil
---
+## install `rf`
+
+you can either install the AUR package `rf` with your favourite AUR helper
+
+or build rfile manually with `gcc` or any other POSIX C99 compiler
+
+---
+
+## extra compile options
+
+you can enable the following flags to enable extra feautures for `rf`:
+
+> using `gcc` you can do `gcc -D FLAG_NAME ...`
+
+- `RF_EXTRAS`: enables all `EXTRA_*` features
+- `RF_EXTRA_MORE_COMMENTS`: enables `//` and `--` comments for `rfile`s
+- `RF_HIDDEN_CMD`: hides the `$ cmd` for commands
+
+---
+
## `rfile` syntax & features
- `#` -> ignore line (comment)