diff options
author | John Hodge <tpg@mutabah.net> | 2016-08-27 17:04:22 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-08-27 17:04:22 +0800 |
commit | 492b53d407735d89026070ad28eeddf66c994b3c (patch) | |
tree | 23f47a3628fab6669a147c6ce1c6fb9db7ce3751 | |
parent | 392cbf69e8ed3538c16af66e976ffad48e8d767f (diff) | |
download | mrust-492b53d407735d89026070ad28eeddf66c994b3c.tar.gz |
Makefile - Add liballoc to test target
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -90,9 +90,11 @@ output/%.ast: samples/%.rs $(BIN) RUSTCSRC := ./rustc-nightly/ output/libcore.hir: $(RUSTCSRC)src/libcore/lib.rs $(BIN) + @echo "--- [MRUSTC] $@" @mkdir -p output/ $(DBG) $(BIN) $< -o $@ $(PIPECMD) -output/libcollections.hir: $(RUSTCSRC)src/libcollections.rs output/libcore.hir $(BIN) +output/liballoc.hir output/libcollections.hir: output/%.hir: $(RUSTCSRC)src/%/lib.rs output/libcore.hir $(BIN) + @echo "--- [MRUSTC] $@" @mkdir -p output/ $(DBG) $(BIN) $< -o $@ $(PIPECMD) @@ -116,7 +118,7 @@ output/rust/%.o: $(RUST_TESTS_DIR)%.rs $(BIN) touch $@ .PHONY: test test_rustos -test: output/libcore.hir $(BIN) +test: output/libcore.hir output/liballoc.hir $(BIN) test_rustos: $(addprefix output/rust_os/,libkernel.rlib) |