3 # Copyright (C) Dean Camera, 2012.
5 # dean [at] fourwalledcubicle [dot] com
9 LUFA_BUILD_MODULES += CORE
10 LUFA_BUILD_TARGETS += info help list_targets list_modules list_mandatory list_optional
11 LUFA_BUILD_MANDATORY_VARS +=
12 LUFA_BUILD_OPTIONAL_VARS +=
14 # -----------------------------------------------------------------------------
15 # LUFA Core Buildsystem Makefile Module.
16 # -----------------------------------------------------------------------------
18 # Provides a set of core build targets for the LUFA buildsystem
19 # -----------------------------------------------------------------------------
22 # info - Build system information
23 # help - Build system help
24 # list_targets - List all build targets
25 # list_modules - List all build modules
26 # list_mandatory - List all mandatory make variables required by
27 # the included build modules of the application
28 # list_optional - List all optional make variables required by
29 # the included build modules of the application
31 # MANDATORY PARAMETERS:
35 # OPTIONAL PARAMETERS:
39 # -----------------------------------------------------------------------------
42 @echo "==================================================================="
43 @echo " LUFA Build System 2.0 "
44 @echo " (C) Dean Camera { dean @ fourwalledcubicle . com } "
45 @echo "==================================================================="
50 @echo " This build system is a set of makefile modules for (GNU) Make, to "
51 @echo " provide a simple system for building LUFA powered applications. "
52 @echo " Each makefile module can be included from within a user makefile, "
53 @echo " to expose the build rules documented in the comments at the top of"
54 @echo " each build module. "
57 @echo " To execute a rule, define all variables indicated in the desired "
58 @echo " module as a required parameter before including the build module "
59 @echo " in your project makefile. Parameters marked as optional will "
60 @echo " assume a default value in the module if not user-assigned. "
61 @echo "==================================================================="
62 @echo " Currently used modules in this application: "
64 @echo " [" $(sort $(LUFA_BUILD_MODULES)) "]"
67 @echo " Currently available build targets in this application: "
69 @echo " [" $(sort $(LUFA_BUILD_TARGETS)) "]"
72 @echo " Mandatory variables required by the selected build Modules: "
74 @echo " [" $(sort $(LUFA_BUILD_MANDATORY_VARS)) "]"
77 @echo " Optional variables required by the selected build Modules: "
79 @echo " [" $(sort $(LUFA_BUILD_OPTIONAL_VARS)) "]"
81 @echo "==================================================================="
82 @echo " The LUFA BuildSystem 2.0 - Powered By Unicorns (tm) "
83 @echo "==================================================================="
86 @echo Currently Available Build Targets: $(sort $(LUFA_BUILD_TARGETS))
89 @echo Currently Build Modules: $(sort $(LUFA_BUILD_MODULES))
92 @echo Mandatory Variables for Included Modules: $(sort $(LUFA_BUILD_MANDATORY_VARS))
95 @echo Optional Variables for Included Modules: $(sort $(LUFA_BUILD_OPTIONAL_VARS))