Files
core-foundation-rs/Makefile.in
T
2012-09-27 10:49:03 -07:00

22 lines
439 B
Makefile

VPATH=%VPATH%
RUST_SRC=$(shell find $(VPATH)/. -type f -name '*.rs')
.PHONE: all
all: librustcorefoundation.dummy
librustcorefoundation.dummy: core_foundation.rc $(RUST_SRC)
$(RUSTC) $(RUSTFLAGS) $< -o $@
touch $@
rustcorefoundation-test: core_foundation.rc $(RUST_SRC)
$(RUSTC) $(RUSTFLAGS) $< -o $@ --test
check: rustcorefoundation-test
./rustcorefoundation-test
.PHONY: clean
clean:
rm -f *.o *.a *.so *.dylib *.dll *.dummy