diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4275aa8 --- /dev/null +++ b/Makefile | |||
@@ -0,0 +1,23 @@ | |||
1 | README.html: pandoc.css README.md | ||
2 | pandoc --standalone --css=$^ -o $@ | ||
3 | cp README.html svasilogianis.github.io/index.html | ||
4 | |||
5 | stls: reference-stls test-fit-stls | ||
6 | |||
7 | reference-stls: bottom.stl side.stl | ||
8 | |||
9 | bottom.stl: shopenscad.sh cubbies.scad | ||
10 | part='"bottom"' ./shopenscad.sh cubbies.scad -o $@ | ||
11 | |||
12 | side.stl: shopenscad.sh cubbies.scad | ||
13 | part='"side"' ./shopenscad.sh cubbies.scad -o $@ | ||
14 | |||
15 | test_fit_stls = male_tabs-40-120-90-5-5-0-10-5-0.5-true.stl \ | ||
16 | female_tabs-40-120-90-5-5-0-10-5-0.1-true.stl \ | ||
17 | female_tabs-40-120-90-5-5-0-10-5-0.2-true.stl \ | ||
18 | female_tabs-40-120-90-5-5-0-10-5-0.3-true.stl \ | ||
19 | female_tabs-40-120-90-5-5-0-10-5-0.4-true.stl \ | ||
20 | female_tabs-40-120-90-5-5-0-10-5-0.5-true.stl | ||
21 | |||
22 | test-fit-stls: $(wildcard $test_fit_stls) | ||
23 | ./test_fits.sh | ||