chiark / gitweb /
Introduce DUTILS variable to replace PLAY
[reprap-play.git] / Makefile
index efad2d81ce81967afa74b7b95450f4d89aaf162a..3514caa264bc6dabdcac4d74683554c2fd37106d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,9 @@ AUTO_INCS += sealing-box.scad sewing-table.scad nutbox.scad \
             poster-tube-lid-parametric.scad \
             $(QUACKS_SCADS)
 
+AUTO_STLS_INCS += poster-tube-lid,CatchPostDistort-fa3.stl
+AUTO_STLS_INCS += poster-tube-lid,CatchPostDistort-fa20.stl
+
 include reprap-objects.make
 
 dovecliptest.stl: doveclip.scad $(AUTO_INCS)
@@ -91,7 +94,7 @@ FILAMENTSPOOL_DXFS=$(foreach n,$(FILAMENTSPOOL_NUMBERS), \
        filamentspool-number-n$n.dxf)
 
 $(addsuffix .auto.stl, $(foreach f,$(FILAMENTSPOOL_AUTOS),$(shell \
-       $(PLAY)/toplevel-find $(PLAY)/$f))): $(FILAMENTSPOOL_DXFS)
+       $(DUTILS)/toplevel-find $(CWD)/$f))): $(FILAMENTSPOOL_DXFS)
 
 filamentspool-numbers filamentspool.stl: $(FILAMENTSPOOL_DXFS)
 
@@ -136,8 +139,8 @@ quacks-stls: $(addsuffix .auto.stls, $(QUACKSES))
                screw-recess-test-number-s$s.fig \
                screw-recess-test-number-s$s.eps)
 
-poster-tube-lid,CatchAssembly.auto.scad: poster-tube-lid,CatchPostDistort-fa3.stl
-poster-tube-lid-coarse,CatchAssembly.auto.scad: poster-tube-lid,CatchPostDistort-fa20.stl
+poster-tube-lid,CatchAssembly.auto.stl: poster-tube-lid,CatchPostDistort-fa3.stl
+poster-tube-lid-coarse,CatchAssembly.auto.stl: poster-tube-lid,CatchPostDistort-fa20.stl
 
 poster-tube-lid,CatchPostDistort-fa%.stl: \
                distort-stl poster-tube-lid,CatchPreDistort.auto.stl