Replace architecture specific makefiles in the BuildTests with the new common build...
[pub/USBasp.git] / LUFA / Build / lufa.core.in
1 #
2 # LUFA Library
3 # Copyright (C) Dean Camera, 2012.
4 #
5 # dean [at] fourwalledcubicle [dot] com
6 # www.lufa-lib.org
7 #
8
9 LUFA_BUILD_MODULES += CORE
10 LUFA_BUILD_TARGETS += list_targets list_modules help
11
12 # -----------------------------------------------------------------------------
13 # LUFA Core Buildsystem Makefile Module.
14 # -----------------------------------------------------------------------------
15 # DESCRIPTION:
16 # Provides a set of core build targets for the LUFA buildsystem
17 # -----------------------------------------------------------------------------
18 # TARGETS:
19 #
20 # info - Build system information
21 # help - Build system help
22 # list_targets - List all build targets
23 # list_modules - List all build modules
24 #
25 # MANDATORY PARAMETERS:
26 #
27 # (None)
28 #
29 # OPTIONAL PARAMETERS:
30 #
31 # (None)
32 #
33 # -----------------------------------------------------------------------------
34
35 info:
36 @echo "==================================================================="
37 @echo " LUFA Build System 2.0 "
38 @echo " (C) Dean Camera { dean @ fourwalledcubicle . com } "
39 @echo "==================================================================="
40
41 .PHONY: info
42 help: info
43 @echo "DESCRIPTION: "
44 @echo " This build system is a set of makefile modules for (GNU) Make, to "
45 @echo " provide a simple system for building LUFA powered applications. "
46 @echo " Each makefile module can be included from within a user makefile, "
47 @echo " to expose the build rules documented in the comments at the top of"
48 @echo " each build module. "
49 @echo " "
50 @echo "USAGE: "
51 @echo " To execute a rule, define all variables indicated in the desired "
52 @echo " module as a required parameter before including the build module "
53 @echo " in your project makefile. Parameters marked as optional will "
54 @echo " assume a default value in the module if not user-assigned. "
55 @echo "==================================================================="
56 @echo " Currently Used Modules in this application: "
57 @echo " "
58 @echo " [" $(sort $(LUFA_BUILD_MODULES)) "]"
59 @echo " "
60 @echo " "
61 @echo " Currently Available Build Targets in this application: "
62 @echo " "
63 @echo " [" $(sort $(LUFA_BUILD_TARGETS)) "]"
64 @echo "==================================================================="
65 @echo " The LUFA BuildSystem 2.0 - Powered By Unicorns (tm) "
66 @echo "==================================================================="
67
68 list_targets:
69 @echo Currently Available Build Targets: $(sort $(LUFA_BUILD_TARGETS))
70
71 list_modules:
72 @echo Currently Build Modules: $(sort $(LUFA_BUILD_MODULES))
73