Switch from -o to --out-dir.

This commit is contained in:
Jack Moffitt
2013-08-16 14:25:40 -06:00
parent 0747126fc9
commit 2893fd675c
+2 -2
View File
@@ -9,11 +9,11 @@ RUST_SRC=$(shell find $(VPATH)/. -type f -name '*.rs')
all: librustcoregraphics.dummy
librustcoregraphics.dummy: core_graphics.rc $(RUST_SRC)
$(RUSTC) $(RUSTFLAGS) $< -o $@
$(RUSTC) $(RUSTFLAGS) $< --out-dir .
touch $@
rustcoregraphics-test: core_graphics.rc $(RUST_SRC)
$(RUSTC) $(RUSTFLAGS) $< -o $@ --test
$(RUSTC) $(RUSTFLAGS) $< --out-dir . --test
check: rustcoregraphics-test
./rustcoregraphics-test