really simple Makefile to compile the STLs

This commit is contained in:
2023-08-24 23:23:41 -05:00
parent f7fa46a074
commit 249c6833ce
2 changed files with 13 additions and 0 deletions

2
.gitignore vendored
View File

@@ -1 +1,3 @@
build/
*.sw*

11
Makefile Normal file
View File

@@ -0,0 +1,11 @@
SRCDIR = ./src
all: $(SRCDIR)/*
mkdir -p build
for file in $^ ; do \
openscad -o $${file}.stl $${file} ; \
mv $${file}.stl build ; \
done
clean:
rm build/*.stl
rmdir build