Correct BuildTest makefiles to use LUFA_PATH rather than LUFA_ROOT_PATH.
[pub/USBasp.git] / BuildTests / SingleUSBModeTest / makefile
1 #
2 # LUFA Library
3 # Copyright (C) Dean Camera, 2012.
4 #
5 # dean [at] fourwalledcubicle [dot] com
6 # www.lufa-lib.org
7 #
8
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++
13 # application.
14
15 # Path to the LUFA library core
16 LUFA_PATH = ../../LUFA/
17
18 all: begin compile clean end
19
20 begin:
21 @echo Executing build test "SingleUSBModeTest".
22 @echo
23
24 end:
25 @echo Build test "SingleUSBModeTest" complete.
26 @echo
27
28 compile:
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'
31
32 $(MAKE) -s -f makefile.test clean elf ARCH=XMEGA MCU=atxmega128a1u CCFLAGS='-D USB_DEVICE_ONLY'
33
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'
36
37 clean:
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
41
42 %:
43
44 .PHONY: begin end compile clean
45
46 # Include LUFA build script makefiles
47 include $(LUFA_PATH)/Build/lufa.core.in