cgmath/Makefile
Brendan Zabarauskas aed74ae3c9 initial commit
2012-09-07 20:48:47 +10:00

10 lines
No EOL
255 B
Makefile

# adapted from https://github.com/z0w0/rusty-math/blob/master/Makefile
all:
rustc src/om3d.rc --lib --out-dir=lib
test: all
rustc --test -L lib test/*-test.rs -o test/build/test.elf
./test/build/test.elf
clean:
rm -R -f ./lib/*
rm -R -f ./test/*.elf