#\r
# LUFA Library\r
-# Copyright (C) Dean Camera, 2011.\r
+# Copyright (C) Dean Camera, 2012.\r
#\r
# dean [at] fourwalledcubicle [dot] com\r
# www.lufa-lib.org\r
# all module headers in a simple C and C++\r
# application.\r
\r
-all:\r
- $(MAKE) -f makefile.avr8 clean\r
- $(MAKE) -f makefile.avr8 LUFA_OPTS='-D USB_DEVICE_ONLY'\r
- $(MAKE) -f makefile.avr8 clean\r
- $(MAKE) -f makefile.avr8 LUFA_OPTS='-D USB_HOST_ONLY'\r
+all: begin compile clean end\r
\r
- $(MAKE) -f makefile.xmega clean\r
- $(MAKE) -f makefile.xmega LUFA_OPTS='-D USB_DEVICE_ONLY'\r
+begin:\r
+ @echo Executing build test "SingleUSBModeTest".\r
+ @echo\r
\r
- $(MAKE) -f makefile.uc3 clean\r
- $(MAKE) -f makefile.uc3 LUFA_OPTS='-D USB_DEVICE_ONLY'\r
- $(MAKE) -f makefile.uc3 clean\r
- $(MAKE) -f makefile.uc3 LUFA_OPTS='-D USB_HOST_ONLY'\r
+end:\r
+ @echo Build test "SingleUSBModeTest" complete.\r
+ @echo\r
+\r
+compile:\r
+ $(MAKE) -s -f makefile.test clean elf ARCH=AVR8 MCU=at90usb1287 CCFLAGS='-D USB_DEVICE_ONLY'\r
+ $(MAKE) -s -f makefile.test clean elf ARCH=AVR8 MCU=at90usb1287 CCFLAGS='-D USB_HOST_ONLY'\r
+\r
+ $(MAKE) -s -f makefile.test clean elf ARCH=XMEGA MCU=atxmega128a1u CCFLAGS='-D USB_DEVICE_ONLY'\r
+ \r
+ $(MAKE) -s -f makefile.test clean elf ARCH=UC3 MCU=uc3a0256 CCFLAGS='-D USB_DEVICE_ONLY'\r
+ $(MAKE) -s -f makefile.test clean elf ARCH=UC3 MCU=uc3a0256 CCFLAGS='-D USB_HOST_ONLY'\r
\r
clean:\r
- $(MAKE) -f makefile.avr8 clean\r
- $(MAKE) -f makefile.xmega clean\r
- $(MAKE) -f makefile.uc3 clean\r
+ $(MAKE) -s -f makefile.test clean ARCH=AVR8\r
+ $(MAKE) -s -f makefile.test clean ARCH=XMEGA\r
+ $(MAKE) -s -f makefile.test clean ARCH=UC3\r
\r
%:\r
\ No newline at end of file