From ad9ee752049e9e853adc634df66700dae573f8b8 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 14 Jan 2018 08:59:57 +0800 Subject: Makefile - Remove useless library directory --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 699ef340..0cd36b1e 100644 --- a/Makefile +++ b/Makefile @@ -206,7 +206,7 @@ output/local_test/%_out.txt: output/local_test/% ./$< > $@ output/local_test/%: samples/test/%.rs $(TEST_DEPS) mkdir -p $(dir $@) - $(BIN) -L output/libs -g $< -o $@ $(RUST_FLAGS) --test $(PIPECMD) + $(BIN) -g $< -o $@ $(RUST_FLAGS) --test $(PIPECMD) # # RUSTC TESTS @@ -249,14 +249,14 @@ output/lib%-test: $(RUSTCSRC)src/lib%/lib.rs $(RUSTC_SRC_DL) $(TEST_DEPS) @echo "--- [MRUSTC] --test -o $@" @mkdir -p output/ @rm -f $@ - $(DBG) $(ENV_$@) $(BIN) --test $< -o $@ -L output/libs $(RUST_FLAGS) $(ARGS_$@) $(PIPECMD) + $(DBG) $(ENV_$@) $(BIN) --test $< -o $@ $(RUST_FLAGS) $(ARGS_$@) $(PIPECMD) # # HACK: Work around gdb returning success even if the program crashed @test -e $@ output/lib%-test: $(RUSTCSRC)src/lib%/src/lib.rs $(RUSTC_SRC_DL) $(TEST_DEPS) @echo "--- [MRUSTC] $@" @mkdir -p output/ @rm -f $@ - $(DBG) $(ENV_$@) $(BIN) --test $< -o $@ -L output/libs $(RUST_FLAGS) $(ARGS_$@) $(PIPECMD) + $(DBG) $(ENV_$@) $(BIN) --test $< -o $@ $(RUST_FLAGS) $(ARGS_$@) $(PIPECMD) # # HACK: Work around gdb returning success even if the program crashed @test -e $@ output/%_out.txt: output/% -- cgit v1.2.3