aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 3015dc8..b136718 100644
--- a/Makefile
+++ b/Makefile
@@ -15,12 +15,12 @@ all: $(STL_TARGETS)
gcode: $(GCODE_TARGETS)
-$(BUILDDIR)/%.stl: %.scad
+$(BUILDDIR)/%.stl: %.scad lib/*
mkdir -p ${BUILDDIR}
- openscad -o $@ $^
+ openscad -o $@ $<
-$(BUILDDIR)/%.gcode: %.stl
- ${SLIC3R} --load ${CONFDIR}/connectors.ini $^
+$(BUILDDIR)/%.gcode: %.stl ${CONFDIR}/connectors.ini
+ ${SLIC3R} --load ${CONFDIR}/connectors.ini $<
clean:
rm -f ${BUILDDIR}/*.stl ${BUILDDIR}/*.gcode