Remove Makefile

This commit is contained in:
Alex Crichton 2014-08-03 17:15:33 -07:00
parent 7e1c1e127d
commit b5e110caf4
2 changed files with 2 additions and 28 deletions

4
.gitignore vendored
View file

@ -1,2 +1,2 @@
build
target
/target
/Cargo.lock

View file

@ -1,26 +0,0 @@
RUSTC ?= rustc
RUSTDOC ?= rustdoc
BUILD ?= build
LIB := $(BUILD)/$(shell $(RUSTC) --print-file-name src/toml.rs)
TEST := $(BUILD)/tomltest
all: $(LIB)
-include $(BUILD)/toml.d
-include $(BUILD)/tomltest.d
$(LIB): src/toml.rs
@mkdir -p $(@D)
$(RUSTC) $< --out-dir $(@D) --dep-info
check: $(TEST) doctest
$(TEST)
$(TEST): src/toml.rs
$(RUSTC) $< --test -o $@ --dep-info
doctest: $(LIB)
$(RUSTDOC) --test -L $(BUILD) src/toml.rs
clean:
rm -rf $(BUILD)