Skip to content

Commit

Permalink
really simple Makefile to compile the STLs
Browse files Browse the repository at this point in the history
  • Loading branch information
bsstephan committed Aug 25, 2023
1 parent f7fa46a commit 8fc5101
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
build/

*.sw*
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8fc5101

Please sign in to comment.