From 1132488e8f80b43473ce4e53db9dd8ce12e87e13 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sat, 18 Feb 2012 23:33:12 +0000 Subject: 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. --- BuildTests/ModuleTest/makefile | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 BuildTests/ModuleTest/makefile (limited to 'BuildTests/ModuleTest/makefile') diff --git a/BuildTests/ModuleTest/makefile b/BuildTests/ModuleTest/makefile new file mode 100644 index 000000000..fafdbc0bf --- /dev/null +++ b/BuildTests/ModuleTest/makefile @@ -0,0 +1,31 @@ +# +# LUFA Library +# Copyright (C) Dean Camera, 2011. +# +# dean [at] fourwalledcubicle [dot] com +# www.lufa-lib.org +# + +# Makefile for the module build test. This test +# attempts to build as many modules as possible +# under all supported architectures, and include +# all module headers in a simple C and C++ +# application. + +all: + $(MAKE) -f makefile.avr8 clean + $(MAKE) -f makefile.avr8 + + $(MAKE) -f makefile.xmega clean + $(MAKE) -f makefile.xmega + + $(MAKE) -f makefile.uc3 clean + $(MAKE) -f makefile.uc3 + +clean: + $(MAKE) -f makefile.avr8 clean + $(MAKE) -f makefile.xmega clean + $(MAKE) -f makefile.uc3 clean + +%: + \ No newline at end of file -- cgit v1.2.3