Files
core-foundation-rs/Makefile.in
T
Brian J. Burg 7971feda4f Initial commit
2012-10-19 12:45:59 -07:00

24 lines
446 B
Makefile

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