really simple Makefile to compile the STLs

This commit is contained in:
Brian S. Stephan 2023-08-24 23:23:41 -05:00
parent f7fa46a074
commit 8fc51019c3
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
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