chiark / gitweb /
Makefile for noninteractive processing
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 2 Aug 2012 17:35:26 +0000 (18:35 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 2 Aug 2012 17:35:26 +0000 (18:35 +0100)
Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..628cbf1
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+
+HRR=/home/reprap
+SLIC3R=$(HRR)/Slic3r/bin/slic3r
+
+default:
+
+%.stl:         %.scad
+               openscad -o $@ $<
+
+%.gcode:       %.stl
+               $(SLIC3R) --load slic3r-config.ini $< --output $@
+