about summary refs log tree commit diff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/makefile b/makefile
index 5433fbb..c3d0745 100644
--- a/makefile
+++ b/makefile
@@ -2,24 +2,25 @@ all: gen
 
 # generator
 ZIG     ?= zig
-rbl_SRC := src/main.zig src/fs.zig src/gen.zig src/exe.zig
-rbl_BIN := bin/rbl
+rbc_SRC := src/main.zig src/fs.zig src/gen.zig src/exe.zig
+rbc_BIN := bin/rbc
 
-$(rbl_BIN): $(rbl_SRC)
+$(rbc_BIN): $(rbc_SRC)
 	$(ZIG) build-exe -lc -O Debug -freference-trace -femit-bin=$@ $<
 
+rbc: $(rbc_BIN)
 
 clean:
-	@ rm -rf site/* $(rbl_BIN) $(md_SRC:%.md=%.htm)
+	@ rm -rf site/* $(rbc_BIN) $(md_SRC:%.md=%.htm)
 
-gen: $(rbl_BIN)
-	@ $(rbl_BIN) md gen
+gen: $(rbc_BIN)
+	@ $(rbc_BIN) md gen
 
 watch:
-	@ $(rbl_BIN) watch
+	@ $(rbc_BIN) watch
 
 serve:
-	@ $(rbl_BIN) serve
+	@ $(rbc_BIN) serve
 
 watch-and-serve:
 	@ ${MAKE} -j2 watch serve
@@ -27,7 +28,7 @@ watch-and-serve:
 was: watch-and-serve
 dev: watch-and-serve
 
-.PHONY: all gen clean serve watch watch-and-serve was
+.PHONY: gen clean serve watch watch-and-serve was
 
 include webdeploy.mk
 include edit.mk