diff options
| author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2026-07-18 17:20:05 +0200 |
|---|---|---|
| committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2026-07-18 17:20:05 +0200 |
| commit | a43beb15df42f5558e5e7b541e1a73238f151eb5 (patch) | |
| tree | c79dfab264e2c713c3a21e824240667f6bfec5f2 | |
| parent | f37fb145746093a55998e557030f7f067d9e3265 (diff) | |
Rebuild models when lib changes
| -rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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}/dice.ini $^ + ${SLIC3R} --load ${CONFDIR}/dice.ini $< clean: rm -f ${BUILDDIR}/*.stl ${BUILDDIR}/*.gcode |
