aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3f60516..5e50ea6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
RUSTC ?= rustc
RUSTDOC ?= rustdoc
BUILD ?= build
-LIB := $(BUILD)/$(shell $(RUSTC) --crate-file-name src/toml.rs)
+LIB := $(BUILD)/$(shell $(RUSTC) --print-file-name src/toml.rs)
TEST := $(BUILD)/tomltest
all: $(LIB)