aboutsummaryrefslogtreecommitdiffstats
path: root/BuildTests/makefile
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-02-18 23:33:12 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-02-18 23:33:12 +0000
commit1132488e8f80b43473ce4e53db9dd8ce12e87e13 (patch)
treec0d138685f664d079e9218d611227aab5919bc15 /BuildTests/makefile
parent04b8360b15e3f1a78cb74e97b0c9acbb068f025a (diff)
downloadlufa-1132488e8f80b43473ce4e53db9dd8ce12e87e13.tar.gz
lufa-1132488e8f80b43473ce4e53db9dd8ce12e87e13.tar.bz2
lufa-1132488e8f80b43473ce4e53db9dd8ce12e87e13.zip
Add build tests to verify correct compilation of as many modules as possible under as many architectures as possible.
Fix broken compilation of LUFA under C++ compilers when the Serial peripheral module header file is included in a C++ source file. Fix missing semicolon in the UC3 architecture host pipe functions. Fix failed compilation for the XMEGA architecture if USB_DEVICE_ONLY us not specified.
Diffstat (limited to 'BuildTests/makefile')
-rw-r--r--BuildTests/makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/BuildTests/makefile b/BuildTests/makefile
new file mode 100644
index 000000000..bc71160bd
--- /dev/null
+++ b/BuildTests/makefile
@@ -0,0 +1,19 @@
+#
+# LUFA Library
+# Copyright (C) Dean Camera, 2011.
+#
+# dean [at] fourwalledcubicle [dot] com
+# www.lufa-lib.org
+#
+
+# Makefile to build all the LUFA Build Tests. Build Tests are
+# used to verify the correctness of the LUFA library, and are
+# not intended to be modified or compiled by non-developers.
+
+all:
+ $(MAKE) -C ModuleTest clean
+ $(MAKE) -C ModuleTest all
+
+%:
+ $(MAKE) -C ModuleTest $@
+