3 #     Copyright (C) Dean Camera, 2012.
 
   5 #  dean [at] fourwalledcubicle [dot] com
 
   9 # Makefile for the module build test. This test
 
  10 # attempts to build as many modules as possible
 
  11 # under all supported architectures, and include
 
  12 # all module headers in a simple C and C++
 
  15 all: begin compile clean end
 
  18         @echo Executing build test "SingleUSBModeTest".
 
  22         @echo Build test "SingleUSBModeTest" complete.
 
  26         $(MAKE) -s -f makefile.test clean elf ARCH=AVR8 MCU=at90usb1287 CCFLAGS='-D USB_DEVICE_ONLY'
 
  27         $(MAKE) -s -f makefile.test clean elf ARCH=AVR8 MCU=at90usb1287 CCFLAGS='-D USB_HOST_ONLY'
 
  29         $(MAKE) -s -f makefile.test clean elf ARCH=XMEGA MCU=atxmega128a1u CCFLAGS='-D USB_DEVICE_ONLY'
 
  31         $(MAKE) -s -f makefile.test clean elf ARCH=UC3 MCU=uc3a0256 CCFLAGS='-D USB_DEVICE_ONLY'
 
  32         $(MAKE) -s -f makefile.test clean elf ARCH=UC3 MCU=uc3a0256 CCFLAGS='-D USB_HOST_ONLY'
 
  35         $(MAKE) -s -f makefile.test clean ARCH=AVR8
 
  36         $(MAKE) -s -f makefile.test clean ARCH=XMEGA
 
  37         $(MAKE) -s -f makefile.test clean ARCH=UC3
 
  41 .PHONY: begin end compile clean
 
  43 # Include LUFA build script makefiles
 
  44 include $(LUFA_ROOT_PATH)/LUFA/Build/lufa.core.in