From: Ian Jackson Date: Thu, 11 Feb 2016 23:46:59 +0000 (+0000) Subject: Makefile: Profile for .m4 files X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=185769fbe84d561ef9a1501168d9d9ffa0fec4f7;p=reprap-play.git Makefile: Profile for .m4 files --- diff --git a/Makefile b/Makefile index 6bff3bf..7e8704a 100644 --- 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 $@'