chiark / gitweb /
Remove Huxley gcode from reprap-objects.make
[reprap-play.git] / reprap-objects.make
index 8d4fe9faa64af17721bcac9f50b63615b97af0b9..33e92d6e96ccfc7f3d4249ca8bc34e64b87f58db 100644 (file)
@@ -25,8 +25,6 @@ SKEINFORGE=python $(HRR)/reprappro-software.git/skeinforge/skeinforge_applicatio
 CWD := $(shell pwd)
 PLAY ?= $(CWD)
 
-CONFIG=$(PLAY)/slic3r-config.ini
-
 AUTO_TOPLEVELS := $(foreach m,$(USING_AUTOS),$(shell $(PLAY)/toplevel-find $m))
 
 AUTO_INCS += funcs.scad
@@ -35,7 +33,7 @@ default:      autoincs scads
 
 $(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)
+autoincs:      $(AUTO_INCS) $(AUTO_STLS_INCS)
 scads:         $(addsuffix .auto.scad, $(AUTO_TOPLEVELS))
 stls:          $(addsuffix .auto.stl, $(AUTO_TOPLEVELS))
 
@@ -55,21 +53,6 @@ stls:                $(addsuffix .auto.stl, $(AUTO_TOPLEVELS))
 
 AUTOBASE=$(shell echo $(1) | perl -pe 's/,\w+\.auto$$//')
 
-%.gcode:       %.stl $(CONFIG)
-               $(SLIC3R) --load $(CONFIG) \
-                       --ignore-nonexistent-config \
-                       --load $(call AUTOBASE,$*).slic3r \
-                       --load $*.slic3r \
-                       --output $@.tmp $<
-               @mv -f $@.tmp $@
-
-%.gcode-sd:    %.gcode
-               mount /media/sd
-               rm -f /media/sd/JOB.* /media/sd/job.*
-               cp $^ /media/sd/JOB.G
-               sleep 0.5
-               umount /media/sd
-
 %:             %.cpp
                cpp -nostdinc -P <$< >$@.tmp && mv -f $@.tmp $@