chiark / gitweb /
Makefile: Add some $(PLAY)
[reprap-play.git] / Makefile
index 05ba8b3bb9bfa980fa184a5a8d006436beb171e4..c402fe362e64bfd27279e66422b89462b1bf7936 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ AUTO_INCS = funcs.scad utils.scad sealing-box.scad
 
 default:       autoincs scads
 
-$(shell set -xe; ./commitid.scad.pl >commitid.scad.tmp; cmp commitid.scad.tmp commitid.scad || mv -f commitid.scad.tmp commitid.scad )
+$(shell set -xe; $(PLAY)/commitid.scad.pl >commitid.scad.tmp; cmp commitid.scad.tmp commitid.scad || mv -f commitid.scad.tmp commitid.scad )
 
 autoincs:      $(AUTO_INCS)
 scads:         $(addsuffix .auto.scad, $(AUTO_TOPLEVELS))
@@ -134,7 +134,7 @@ FILAMENTSPOOL_DXFS=$(foreach n,$(FILAMENTSPOOL_NUMBERS), \
        filamentspool-number-n$n.dxf)
 
 $(addsuffix .auto.stl, $(foreach f,$(FILAMENTSPOOL_AUTOS),$(shell \
-       ./toplevel-find $f))): $(FILAMENTSPOOL_DXFS)
+       $(PLAY)/toplevel-find $(PLAY)/$f))): $(FILAMENTSPOOL_DXFS)
 
 filamentspool-numbers filamentspool.stl: $(FILAMENTSPOOL_DXFS)