]> Lady’s Gitweb - Shushe/blobdiff - GNUmakefile
Simplify recursive dependency error printing
[Shushe] / GNUmakefile
index bcba827b8f63519de1c829f6c4c6def96ffdfd7c..a16e29c149ec0491ff5865a618b3d778d9f6208f 100644 (file)
@@ -366,8 +366,8 @@ list:
 
 # Raise an error when attempting to build any files with recursive
 # dependencies.
-$(call compiled,$(recursivefiles)): $(BUILDDIR)/public/%:
-       @$(PRINTF) '%b\n' $(call quote,\0033[93;41mError:\0033[39;49m `$*´ has recursive dependencies:\n$(subst :, ,$(subst $(space),$(newline),$(foreach recursive,$(call recursives,$(SRCDIR)/$*),•:$(patsubst $(SRCDIR)/%,%,$(recursive)))))) && false
+$(call compiled,$(recursivefiles)):
+       @$(PRINTF) '%b\n' $(call quote,\0033[93;41mError:\0033[39;49m `$(call uncompiled,$@)´ has recursive dependencies:\n$(subst :, ,$(subst $(space),$(newline),$(foreach recursive,$(call recursives,$(call uncompiled,$@)),•:$(recursive))))) && false
 
 # ─ ¶ Special Targets ─────────────────────────────────────────────────
 
This page took 0.034875 seconds and 4 git commands to generate.