aboutsummaryrefslogtreecommitdiff
path: root/rfile
diff options
context:
space:
mode:
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
+}