Skip to content

Commit

Permalink
Added Makefile for openscad with automatic dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrocholl committed Apr 17, 2013
1 parent 57866b8 commit 474034e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.stl
*.deps
*.gcode
*.gif
*.png
Expand Down
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Explicit wildcard expansion suppresses errors when no files are found.
include $(wildcard *.deps)

%.stl: %.scad
openscad -o $@ -m make -d $*.deps $<

all: frame_top.stl frame_motor.stl

0 comments on commit 474034e

Please sign in to comment.