summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-12-18 13:20:51 +0800
committerJohn Hodge <tpg@mutabah.net>2016-12-18 13:20:51 +0800
commit747bc2627450e8dc1bc04fb4e48e69a44cd5dd36 (patch)
tree730499db7930bed1c5e8db980cad12a9d845fda5
parent75ec75461562d1355d25b9921e0f8a1c0c9baee7 (diff)
downloadmrust-747bc2627450e8dc1bc04fb4e48e69a44cd5dd36.tar.gz
Makefile - Create output directory for hello_world
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7ec0a9ce..86b3cfef 100644
--- a/Makefile
+++ b/Makefile
@@ -218,6 +218,7 @@ rust_tests-run-fail: $(call DEF_RUST_TESTS,run-fail)
#rust_tests-compile-fail: $(call DEF_RUST_TESTS,compile-fail)
output/rust/test_run-pass_hello: $(RUST_TESTS_DIR)run-pass/hello.rs output/libstd.hir $(BIN) output/liballoc_system.hir output/libpanic_abort.hir
+ @mkdir -p $(dir $@)
$(DBG) $(BIN) $< -o $@.c $(PIPECMD)
gcc $@.c -pthread -g -o $@