Add symbol-sizes target to the BUILD build system module to print a size-sorted list...
[pub/lufa.git] / LUFA / Build / lufa.core.in
index f403b9e..13372c4 100644 (file)
@@ -60,25 +60,30 @@ help:
        @echo " module as a required parameter before including the build module  "\r
        @echo " in your project makefile. Parameters marked as optional will      "\r
        @echo " assume a default value in the module if not user-assigned.        "\r
+       @echo "                                                                   "\r
+       @echo " By default the target output shows both a friendly summary, as    "\r
+       @echo " well as the actual invoked command. To suppress the output of the "\r
+       @echo " invoked commands and show only the friendly command output, run   "\r
+       @echo " make with the \"-s\" switch added before the target(s).           "             \r
        @echo "==================================================================="\r
        @echo "  Currently used modules in this application:                      "\r
        @echo "                                                                   "\r
-       @echo "    [" $(SORTED_LUFA_BUILD_MODULES) "]"\r
+       @printf " %b" "$(SORTED_LUFA_BUILD_MODULES:%=   - %\n)"\r
        @echo "                                                                   "\r
        @echo "                                                                   "\r
        @echo "  Currently available build targets in this application:           "\r
        @echo "                                                                   "\r
-       @echo "    [" $(SORTED_LUFA_BUILD_TARGETS) "]"\r
+       @printf " %b" "$(SORTED_LUFA_BUILD_TARGETS:%=   - %\n)"\r
        @echo "                                                                   "\r
        @echo "                                                                   "\r
        @echo "  Mandatory variables required by the selected build Modules:      "\r
        @echo "                                                                   "\r
-       @echo "    [" $(SORTED_LUFA_MANDATORY_VARS) "]"\r
+       @printf " %b" "$(SORTED_LUFA_MANDATORY_VARS:%=   - %\n)"\r
        @echo "                                                                   "\r
        @echo "                                                                   "\r
        @echo "  Optional variables required by the selected build Modules:       "\r
        @echo "                                                                   "\r
-       @echo "    [" $(SORTED_LUFA_OPTIONAL_VARS) "]"\r
+       @printf " %b" "$(SORTED_LUFA_OPTIONAL_VARS:%=   - %\n)"\r
        @echo "                                                                   "\r
        @echo "==================================================================="\r
        @echo "        The LUFA BuildSystem 2.0 - Powered By Unicorns (tm)        "\r
@@ -95,3 +100,10 @@ list_mandatory:
        \r
 list_optional:\r
        @echo Optional Variables for Included Modules: $(SORTED_LUFA_OPTIONAL_VARS)\r
+\r
+# Phony build targets for this module\r
+.PHONY: help list_modules list_targets list_mandatory list_optional\r
+\r
+# Disable default in-built make rules (those that are needed are explicitly\r
+# defined, and doing so has performance benefits when recursively building)\r
+.SUFFIXES:\r