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 # Path to the LUFA library core
16 LUFA_PATH = ../../LUFA/
18 all: begin compile clean end
21 @echo Executing build test "SingleUSBModeTest".
25 @echo Build test "SingleUSBModeTest" complete.
29 $(MAKE) -s -f makefile.test clean elf ARCH=AVR8 MCU=at90usb1287 CCFLAGS='-D USB_DEVICE_ONLY'
30 $(MAKE) -s -f makefile.test clean elf ARCH=AVR8 MCU=at90usb1287 CCFLAGS='-D USB_HOST_ONLY'
32 $(MAKE) -s -f makefile.test clean elf ARCH=XMEGA MCU=atxmega128a1u CCFLAGS='-D USB_DEVICE_ONLY'
34 $(MAKE) -s -f makefile.test clean elf ARCH=UC3 MCU=uc3a0256 CCFLAGS='-D USB_DEVICE_ONLY'
35 $(MAKE) -s -f makefile.test clean elf ARCH=UC3 MCU=uc3a0256 CCFLAGS='-D USB_HOST_ONLY'
38 $(MAKE) -s -f makefile.test clean ARCH=AVR8
39 $(MAKE) -s -f makefile.test clean ARCH=XMEGA
40 $(MAKE) -s -f makefile.test clean ARCH=UC3
44 .PHONY: begin end compile clean
46 # Include LUFA build script makefiles
47 include $(LUFA_PATH)/Build/lufa.core.in