Add build test for forced single USB modes.
[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:
16 $(MAKE) -f makefile.avr8 clean
17 $(MAKE) -f makefile.avr8 LUFA_OPTS='-D USB_DEVICE_ONLY'
18 $(MAKE) -f makefile.avr8 clean
19 $(MAKE) -f makefile.avr8 LUFA_OPTS='-D USB_HOST_ONLY'
20
21 $(MAKE) -f makefile.xmega clean
22 $(MAKE) -f makefile.xmega LUFA_OPTS='-D USB_DEVICE_ONLY'
23
24 $(MAKE) -f makefile.uc3 clean
25 $(MAKE) -f makefile.uc3 LUFA_OPTS='-D USB_DEVICE_ONLY'
26 $(MAKE) -f makefile.uc3 clean
27 $(MAKE) -f makefile.uc3 LUFA_OPTS='-D USB_HOST_ONLY'
28
29 clean:
30 $(MAKE) -f makefile.avr8 clean
31 $(MAKE) -f makefile.xmega clean
32 $(MAKE) -f makefile.uc3 clean
33
34 %:
35