buildable-stick-system/Makefile
Brian S. Stephan 882a34db55
rewrite Makefile to allow parallelization
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-21 18:15:10 -05:00

14 lines
344 B
Makefile

EXCLUDES = blown-up-demo components parameters
OBJECTS := $(filter-out $(EXCLUDES),$(patsubst src/%.scad,%,$(wildcard src/*.scad)))
dir_guard=@mkdir -p ./build
all: $(OBJECTS)
zip ./build/buildable-stick-system-`git describe --dirty`-stls.zip ./build/*
$(OBJECTS):
$(dir_guard)
openscad -o build/$@.stl src/$@.scad
clean:
rm -rf ./build