AppConfigHeaders: Update several additional user projects to use configuration header...
[pub/USBasp.git] / BuildTests / SingleUSBModeTest / makefile
1 #
2 # LUFA Library
3 # Copyright (C) Dean Camera, 2011.
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 all: begin compile clean end
16
17 begin:
18 @echo Executing build test "SingleUSBModeTest".
19 @echo
20
21 end:
22 @echo Build test "SingleUSBModeTest" complete.
23 @echo
24
25 compile:
26 $(MAKE) -s -f makefile.avr8 clean
27 $(MAKE) -s -f makefile.avr8 LUFA_OPTS='-D USB_DEVICE_ONLY' elf
28 $(MAKE) -s -f makefile.avr8 clean
29 $(MAKE) -s -f makefile.avr8 LUFA_OPTS='-D USB_HOST_ONLY' elf
30
31 $(MAKE) -s -f makefile.xmega clean
32 $(MAKE) -s -f makefile.xmega LUFA_OPTS='-D USB_DEVICE_ONLY' elf
33
34 $(MAKE) -s -f makefile.uc3 clean
35 $(MAKE) -s -f makefile.uc3 LUFA_OPTS='-D USB_DEVICE_ONLY' elf
36 $(MAKE) -s -f makefile.uc3 clean
37 $(MAKE) -s -f makefile.uc3 LUFA_OPTS='-D USB_HOST_ONLY' elf
38
39 clean:
40 $(MAKE) -s -f makefile.avr8 clean
41 $(MAKE) -s -f makefile.xmega clean
42 $(MAKE) -s -f makefile.uc3 clean
43
44 %:
45