summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Schwarz <michi.schwarz@gmail.com>2015-08-08 21:24:47 +0200
committerMichael Schwarz <michi.schwarz@gmail.com>2015-08-08 21:56:03 +0200
commita2ce9df576154baf710d3d05db405c8a76c9dffb (patch)
tree945870ec201b42a1df0f903726d7fcee07ecf479
parent2034cdd3691636d5381aad60e8094361386a10c1 (diff)
downloadpogojig-a2ce9df576154baf710d3d05db405c8a76c9dffb.tar.gz
pogojig-a2ce9df576154baf710d3d05db405c8a76c9dffb.tar.bz2
pogojig-a2ce9df576154baf710d3d05db405c8a76c9dffb.zip
Makefile: Fixed missing dependencies.
Asymptote and OpenSCAD targets would not include intermediate files in their dependencies.
-rw-r--r--Makefile4
1 files 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)