From 185769fbe84d561ef9a1501168d9d9ffa0fec4f7 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 11 Feb 2016 23:46:59 +0000 Subject: [PATCH] Makefile: Profile for .m4 files --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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 $@' -- 2.30.2