aboutsummaryrefslogtreecommitdiff
path: root/rfile
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 /rfile
parent2452d534e5a3f4cebd28f89d0606a5f61f8d4b37 (diff)
add documentation and extra flagsHEADmaster
Signed-off-by: czjstmax <jstmaxlol@disroot.org>
Diffstat (limited to 'rfile')
-rw-r--r--rfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/rfile b/rfile
index f38ab34..2daa06b 100644
--- a/rfile
+++ b/rfile
@@ -8,8 +8,10 @@
@inp=rf.c
@out=rf
@opts=-Wall -Wextra -pedantic -std=c99
+@editor=$EDITOR
# build
+@: building rf..
@cc @inp -o @out @opts
# install section
@@ -22,6 +24,11 @@ install {
# clean section
clean {
+ @: removing rf binary..
rm @out
}
+edit {
+ @: opening default editor..
+ @editor rf.c
+}