diff options
author | John Hodge <tpg@mutabah.net> | 2016-09-25 11:41:46 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-09-25 11:41:46 +0800 |
commit | d8d68be7ebee43e47ce7be630f502895b3673010 (patch) | |
tree | c8c780f8f80efcbb5fd4d9d94a3f3e93e31dfddc | |
parent | 6ca23cb77720210d98903c17fa8ad054edb9da85 (diff) | |
download | mrust-d8d68be7ebee43e47ce7be630f502895b3673010.tar.gz |
Makefile - Add libstd to `make test`
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -105,6 +105,10 @@ output/librustc_unicode.hir: $(RUSTCSRC)src/librustc_unicode/lib.rs output/libco @echo "--- [MRUSTC] $@" @mkdir -p output/ $(DBG) $(BIN) $< -o $@ $(PIPECMD) +output/libstd.hir: $(RUSTCSRC)src/libstd/lib.rs $(patsubst %,output/lib%.hir,core collections) $(BIN) + @echo "--- [MRUSTC] $@" + @mkdir -p output/ + $(DBG) $(BIN) $< -o $@ $(PIPECMD) .PHONY: UPDATE UPDATE: @@ -126,7 +130,7 @@ output/rust/%.o: $(RUST_TESTS_DIR)%.rs $(BIN) touch $@ .PHONY: test test_rustos -test: output/libcore.hir output/liballoc.hir output/libcollections.hir $(BIN) +test: output/libcore.hir output/liballoc.hir output/libcollections.hir output/libstd.hir $(BIN) test_rustos: $(addprefix output/rust_os/,libkernel.rlib) |