made Y idler configurable by bearing size, also made it square for perfect print...
[clinton/prusa3.git] / Makefile
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
13 mkdir -p output
14 openscad -o $@ $<