really simple Makefile to compile the STLs
This commit is contained in:
parent
f7fa46a074
commit
8fc51019c3
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1,3 @@
|
||||
build/
|
||||
|
||||
*.sw*
|
||||
|
11
Makefile
Normal file
11
Makefile
Normal 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
|
Loading…
x
Reference in New Issue
Block a user