From: Ian Jackson Date: Fri, 12 Feb 2016 01:06:01 +0000 (+0000) Subject: Makefile: try to cope with .m4s with toplevels X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=commitdiff_plain;h=194cbb3e36226c34d5c4b687863d805d6fa2f3c5;ds=sidebyside Makefile: try to cope with .m4s with toplevels --- diff --git a/Makefile b/Makefile index 7e8704a..4ad0929 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ USING_AUTOS ?= $(FILAMENTSPOOL_AUTOS) xeno-drivebay-bracket dungeonquest-cone an AUTO_TOPLEVELS := $(foreach m,$(USING_AUTOS),$(shell $(PLAY)/toplevel-find $m)) -AUTO_INCS = funcs.scad +AUTO_INCS = funcs.scad misc.scad default: autoincs scads @@ -43,7 +43,7 @@ autoincs: $(AUTO_INCS) scads: $(addsuffix .auto.scad, $(AUTO_TOPLEVELS)) stls: $(addsuffix .auto.stl, $(AUTO_TOPLEVELS)) -%.auto.scads: +%.auto.scads: %.scad $(MAKE) $(addsuffix .auto.scad, $(shell $(PLAY)/toplevel-find $*)) %.auto.stls: $(MAKE) $(addsuffix .auto.stl, $(shell $(PLAY)/toplevel-find $*))