]> Lady’s Gitweb - Shushe/blobdiff - GNUmakefile
Calculate dependencies for includes also
[Shushe] / GNUmakefile
index 9eb4fd4f99ca0b43120cb2bc13bacd2b0bf0101b..f914825307d473ae1d04474938a5f8c4c30721f9 100644 (file)
@@ -301,7 +301,7 @@ override unparsed = $(foreach file,$1,$(patsubst %|$(file),%,$(filter %|$(file),
 
 ifneq ($(wildcard $(BUILDDIR)/dependencies),)
 # Pair each file with a list of dependencies for it.
-override dependenciesforfile := $(foreach file,$(sourcefiles),$(file)|$(subst $(space),|,$(shell $(CAT) $(call quote,$(BUILDDIR)/dependencies) | $(SED) $(call quote,/^$(call sedesc,$(call localuri,$(file)))$$/$(comma)/^[^  ]/!d;/^ /!d;s/^ //))))
+override dependenciesforfile := $(foreach file,$(filter-out $(assetfiles),$(sourcefiles) $(sourceincludes)),$(file)|$(subst $(space),|,$(shell $(CAT) $(call quote,$(BUILDDIR)/dependencies) | $(SED) $(call quote,/^$(call sedesc,$(call localuri,$(file)))$$/$(comma)/^[^    ]/!d;/^ /!d;s/^ //))))
 
 # (callable) Get the list of dependency leiris for the given source files.
 #
This page took 0.026039 seconds and 4 git commands to generate.