buildable-stick-system/Makefile
Brian S. Stephan 8987d403ce
don't build another SCAD file I have locally for tinkering
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-22 13:40:01 -06:00

16 lines
539 B
Makefile

SRC_FILES := $(wildcard ./src/*.scad)
SRC_FILES := $(filter-out ./src/all-together-demo.scad, $(SRC_FILES))
SRC_FILES := $(filter-out ./src/blown-up-demo.scad, $(SRC_FILES))
SRC_FILES := $(filter-out ./src/components.scad, $(SRC_FILES))
SRC_FILES := $(filter-out ./src/roundedcube.scad, $(SRC_FILES))
all: $(SRC_FILES)
mkdir -p ./build
for file in $^ ; do \
openscad -o $${file}.stl $${file} ; \
mv $${file}.stl ./build/ ; \
done
zip ./build/buildable-stick-system-`git describe --dirty`-stls.zip ./build/*
clean:
rm -rf ./build