chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
filamenttrestle wip not use doveclip
[reprap-play.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index feb5c2876ea4697a8194869f9e65cb471600e797..b5d73e6122ecb4c268e2e06b34a9bccebcdc1cdf 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-19,8
+19,11
@@
default:
-include .*.d
%.stl: %.scad
-include .*.d
%.stl: %.scad
- openscad -d .$@.d -o $@.tmp $<
- @mv -f $@.tmp $@
+ openscad -d .$@.d.tmp -o $*.tmp.stl $<
+ @rm -f $@
+ @sed -e 's/\.tmp\.stl:/.stl:/' <.$@.d.tmp >.$@.d
+ @rm .$@.d.tmp
+ mv -f $*.tmp.stl $@
%.gcode: $(CONFIG) %.stl
$(SLIC3R) --load $^ --output $@.tmp
%.gcode: $(CONFIG) %.stl
$(SLIC3R) --load $^ --output $@.tmp