cgmath/Makefile

10 lines
270 B
Makefile
Raw Normal View History

2012-09-07 10:48:47 +00:00
# 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_om3d.rc -o test/build/test_om3d.elf
./test/build/test_om3d.elf
2012-09-07 10:48:47 +00:00
clean:
rm -R -f ./lib/*
rm -R -f ./test/build/*