7b9f338f2a62e66d39a85887dfb083fc1e1c9fb9
1 #openscad -o output/bushing.stl bushing.scad
3 INCLUDES
= $(wildcard inc
/*.scad
)
5 MODELS
= $(filter-out configuration.scad
, $(wildcard *.scad
))
7 STL_FILES_1
= $(foreach src
, $(MODELS
),output
/$(src
))
8 STL_FILES
= $(STL_FILES_1
:%.scad
=%.stl
)
12 MODELS_EXTRAS
= $(wildcard extras
/*.scad
)
13 STL_EXTRAS_1
= $(foreach src
, $(MODELS_EXTRAS
),output
/$(src
))
14 STL_EXTRAS
= $(STL_EXTRAS_1
:%.scad
=%.stl
)
18 output
/%.stl
: %.scad
$(INCLUDES
) configuration.scad
22 rm output
/*.stl output
/*.gcode output
/extras
/*.stl output
/extras
/*.gcode