From a2ce9df576154baf710d3d05db405c8a76c9dffb Mon Sep 17 00:00:00 2001 From: Michael Schwarz Date: Sat, 8 Aug 2015 21:24:47 +0200 Subject: Makefile: Fixed missing dependencies. Asymptote and OpenSCAD targets would not include intermediate files in their dependencies. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9aaf797..da444d9 100644 --- a/Makefile +++ b/Makefile @@ -53,10 +53,10 @@ ASY_PDF_FILES := $(call filter_compiled,.asy,.pdf,$(filter-out $(SVG_ASY_FILES), DEPENDENCY_FILES := $(foreach i,.scad,$(call filter_compiled,$i,.d,$(filter-out $(SVG_ASY_FILES),$(SRC_FILES)))) # Files that may be used from OpenSCAD files and thus must exist before OpenSCAD is called. -SCAD_ORDER_DEPS := $(filter %.scad %.dxf,$(GENERATED_FILES)) $(SVG_DXF_FILES) +SCAD_ORDER_DEPS := $(filter %.scad %.dxf,$(SRC_FILES)) $(SVG_DXF_FILES) # Files that may be used from Asymptote files. -ASY_DEPS := $(filter %.asy,$(GENERATED_FILES)) $(SVG_ASY_FILES) +ASY_DEPS := $(filter %.asy,$(SRC_FILES)) $(SVG_ASY_FILES) # Dependencies which may affect the result of all build products. GLOBAL_DEPS := Makefile $(wildcard config.mk settings.mk) -- cgit