Fix build when RUSTC is undefined in env

This commit is contained in:
Brian J. Burg
2012-10-04 19:15:32 -07:00
parent 9733c605bd
commit 1104c30097
+4 -2
View File
@@ -1,8 +1,11 @@
VPATH=%VPATH%
RUSTC ?= rustc
RUSTFLAGS ?=
RUST_SRC=$(shell find $(VPATH)/. -type f -name '*.rs')
.PHONE: all
.PHONY: all clean
all: librustcorefoundation.dummy
librustcorefoundation.dummy: core_foundation.rc $(RUST_SRC)
@@ -15,7 +18,6 @@ rustcorefoundation-test: core_foundation.rc $(RUST_SRC)
check: rustcorefoundation-test
./rustcorefoundation-test
.PHONY: clean
clean:
rm -f *.o *.a *.so *.dylib *.dll *.dummy