Commit | Line | Data |
---|---|---|
92eecbb1 VAH |
1 | #openscad -o output/bushing.stl bushing.scad |
2 | ||
3 | INCLUDES = $(wildcard inc/*.scad) | |
4 | ||
5 | MODELS = $(filter-out configuration.scad, $(wildcard *.scad)) | |
6 | ||
7 | STL_FILES_1 = $(foreach src, $(MODELS),output/$(src)) | |
8 | STL_FILES = $(STL_FILES_1:%.scad=%.stl) | |
9 | ||
10 | all: $(STL_FILES) | |
11 | ||
12 | output/%.stl: %.scad $(INCLUDES) configuration.scad | |
69cf5b2c | 13 | mkdir -p output |
92eecbb1 | 14 | openscad -o $@ $< |