aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-06-26 19:27:08 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-06-26 19:27:42 -0700
commit7ba80c5ac4a3f6bc3801bb4ac86fd65a569a07ba (patch)
tree730e5335e7666d61a5c222943fd3f7fb2f279445 /Makefile
parentcaf4071137bc12edeb1b631376a079f81f22c058 (diff)
downloadmilf-rs-7ba80c5ac4a3f6bc3801bb4ac86fd65a569a07ba.tar.gz
milf-rs-7ba80c5ac4a3f6bc3801bb4ac86fd65a569a07ba.zip
Make some makefile variables overridable
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4500730..3f60516 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-RUSTC := rustc
-RUSTDOC := rustdoc
-BUILD := build
+RUSTC ?= rustc
+RUSTDOC ?= rustdoc
+BUILD ?= build
LIB := $(BUILD)/$(shell $(RUSTC) --crate-file-name src/toml.rs)
TEST := $(BUILD)/tomltest