-
Notifications
You must be signed in to change notification settings - Fork 59
/
Makefile
39 lines (30 loc) · 1.06 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
all: message without-exr
clean:
-rm -f *~ examples/*~ src/*~ examples/*.rs.bk src/*.rs.bk *.exr *.png
clobber: clean
-rm -fr target
distclean: clobber
-rm -f *.exr *.png master.zip
-rm -fr openexr-rs-master
message:
$(info # if you want to have a git commit tag in your executables reported:")
$(info # bash: export GIT_DESCRIBE=something")
$(info # tcsh: setenv GIT_DESCRIBE something")
$(info # replace 'something' above with the output of:")
$(info git describe --tags)
doc:
cargo doc --no-default-features
browse: doc
firefox ./target/doc/pbrt/index.html
debug: # master.zip
cargo test --no-default-features
cargo run --bin parse_blend_file --no-default-features -- --help
cargo run --bin rs_pbrt --no-default-features -- --help
release:
cargo test --release
cargo run --bin parse_blend_file --release -- --help
cargo run --bin rs_pbrt --release -- --help
without-exr:
cargo test --release --no-default-features
cargo run --bin parse_blend_file --release --no-default-features -- --help
cargo run --bin rs_pbrt --release --no-default-features -- --help