aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Build/lufa.core.in
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-06-01 22:32:43 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-06-01 22:32:43 +0000
commit56e792c95b1a29e61d9204a8f7f305d7f33261f1 (patch)
tree9a4fe8e631f6d4ec98942b4e7f1dc2349d25283f /LUFA/Build/lufa.core.in
parente309f42af3389afc8a11fb7475cdd808d89aef98 (diff)
downloadlufa-56e792c95b1a29e61d9204a8f7f305d7f33261f1.tar.gz
lufa-56e792c95b1a29e61d9204a8f7f305d7f33261f1.tar.bz2
lufa-56e792c95b1a29e61d9204a8f7f305d7f33261f1.zip
Switch over Demos, Bootloaders and Projects to the new and improved build system.
Diffstat (limited to 'LUFA/Build/lufa.core.in')
-rw-r--r--LUFA/Build/lufa.core.in73
1 files changed, 73 insertions, 0 deletions
diff --git a/LUFA/Build/lufa.core.in b/LUFA/Build/lufa.core.in
new file mode 100644
index 000000000..71c35e035
--- /dev/null
+++ b/LUFA/Build/lufa.core.in
@@ -0,0 +1,73 @@
+#
+# LUFA Library
+# Copyright (C) Dean Camera, 2012.
+#
+# dean [at] fourwalledcubicle [dot] com
+# www.lufa-lib.org
+#
+
+LUFA_BUILD_MODULES += CORE
+LUFA_BUILD_TARGETS += list_targets list_modules help
+
+# -----------------------------------------------------------------------------
+# LUFA Core Buildsystem Makefile Module.
+# -----------------------------------------------------------------------------
+# DESCRIPTION:
+# Provides a set of core build targets for the LUFA buildsystem
+# -----------------------------------------------------------------------------
+# TARGETS:
+#
+# info - Build system information
+# help - Build system help
+# list_targets - List all build targets
+# list_modules - List all build modules
+#
+# MANDATORY PARAMETERS:
+#
+# (None)
+#
+# OPTIONAL PARAMETERS:
+#
+# (None)
+#
+# -----------------------------------------------------------------------------
+
+info:
+ @echo "==================================================================="
+ @echo " LUFA Build System 2.0 "
+ @echo " (C) Dean Camera { dean @ fourwalledcubicle . com } "
+ @echo "==================================================================="
+
+.PHONY: info
+help: info
+ @echo "DESCRIPTION: "
+ @echo " This build system is a set of makefile modules for (GNU) Make, to "
+ @echo " provide a simple system for building LUFA powered applications. "
+ @echo " Each makefile module can be included from within a user makefile, "
+ @echo " to expose the build rules documented in the comments at the top of"
+ @echo " each build module. "
+ @echo " "
+ @echo "USAGE: "
+ @echo " To execute a rule, define all variables indicated in the desired "
+ @echo " module as a required parameter before including the build module "
+ @echo " in your project makefile. Parameters marked as optional will "
+ @echo " assume a default value in the module if not user-assigned. "
+ @echo "==================================================================="
+ @echo " Currently Used Modules in this application: "
+ @echo " "
+ @echo " [" $(sort $(LUFA_BUILD_MODULES)) "]"
+ @echo " "
+ @echo " "
+ @echo " Currently Available Build Targets in this application: "
+ @echo " "
+ @echo " [" $(sort $(LUFA_BUILD_TARGETS)) "]"
+ @echo "==================================================================="
+ @echo " The LUFA BuildSystem 2.0 - Powered By Unicorns (tm) "
+ @echo "==================================================================="
+
+list_targets:
+ @echo Currently Available Build Targets: $(sort $(LUFA_BUILD_TARGETS))
+
+list_modules:
+ @echo Currently Build Modules: $(sort $(LUFA_BUILD_MODULES))
+