chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a43508
)
Makefile: Profile for .m4 files
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 11 Feb 2016 23:46:59 +0000
(23:46 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 11 Feb 2016 23:46:59 +0000
(23:46 +0000)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 6bff3bf02ec9a7a0ebca32c907ab97326bcc8c11..7e8704a7430204567e57e086f00b137fcbdab632 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-19,6
+19,7
@@
HRR=/home/reprap
SLIC3R=$(HRR)/Slic3r/bin/slic3r
+M4=m4
SKEINFORGE=python $(HRR)/reprappro-software.git/skeinforge/skeinforge_application/skeinforge_utilities/skeinforge_craft.py
CWD := $(shell pwd)
@@
-168,6
+169,9
@@
lemon-stand.stl: lemon-stand.scad
%: %.pl
./$< >$@.tmp && mv -f $@.tmp $@
+%: %.m4
+ $(M4) -P >$@.tmp $< && mv -f $@.tmp $@
+
.PRECIOUS: %.auto.scad
%.auto.scad: $(PLAY)/toplevel-make Makefile $(PLAY)/toplevel-find
@echo ' write $@'