aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-08-19 20:20:16 -0700
committerChristian Cunningham <cc@localhost>2022-08-19 20:20:16 -0700
commit0d061dac9e31831e4fe426a0df777463043868d7 (patch)
tree54a7ad1e218329843c320ebac19ab016822b7a66 /Makefile
parent7f4ff7cf15f93759e8eae18cf8423035dba36c5e (diff)
Generic Allocation Scheme
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8c202d8..e20e93a 100644
--- a/Makefile
+++ b/Makefile
@@ -20,11 +20,14 @@ COMPILER_ARGS=--target=$(TARGET) $(FEATURES) --release
RUSTC_CMD=cargo rustc $(COMPILER_ARGS)
export LINKER_FILE
-.PHONY: build clean run
+.PHONY: build doc clean run
build:
@RUSTFLAGS="$(RUSTFLAGS_PEDANTIC)" $(RUSTC_CMD)
+doc:
+ @RUSTFLAGS="$(RUSTFLAGS_PEDANTIC)" cargo doc $(COMPILER_ARGS)
+
clean:
rm -rf target