aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/makefile
blob: 333519f2b4b2cecefc23fd5475fe5ca677eb956d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
#
#             LUFA Library
#     Copyright (C) Dean Camera, 2009.
#              
#  dean [at] fourwalledcubicle [dot] com
#      www.fourwalledcubicle.com
#

# Makefile to build all the LUFA Demos. Call with "make all" to
# rebuild all demos.

# Projects are pre-cleaned before each one is built, to ensure any
# custom LUFA library build options are reflected in the compiled
# code.

all:
	make -C AudioInput clean
	make -C AudioInput all

	make -C AudioOutput clean
	make -C AudioOutput all

	make -C BluetoothHost clean
	make -C BluetoothHost all

	make -C CDC clean
	make -C CDC all

	make -C CDCHost clean
	make -C CDCHost all

	make -C DualCDC clean
	make -C DualCDC all

	make -C Joystick clean
	make -C Joystick all

	make -C KeyboardMouse clean
	make -C KeyboardMouse all

	make -C Keyboard clean
	make -C Keyboard all

	make -C KeyboardFullInt clean
	make -C KeyboardFullInt all

	make -C KeyboardViaInt clean
	make -C KeyboardViaInt all

	make -C KeyboardHost clean
	make -C KeyboardHost all
	
	make -C KeyboardHostWithParser clean
	make -C KeyboardHostWithParser all

	make -C KeyboardHostViaInt clean
	make -C KeyboardHostViaInt all

	make -C MassStorage clean
	make -C MassStorage all

	make -C MassStorageHost clean
	make -C MassStorageHost all

	make -C MIDI clean
	make -C MIDI all

	make -C Mouse clean
	make -C Mouse all

	make -C MouseFullInt clean
	make -C MouseFullInt all

	make -C MouseViaInt clean
	make -C MouseViaInt all
	
	make -C MouseHost clean
	make -C MouseHost all

	make -C MouseHostWithParser clean
	make -C MouseHostWithParser all

	make -C MouseHostViaInt clean
	make -C MouseHostViaInt all

	make -C RNDISEthernet clean
	make -C RNDISEthernet all

	make -C StillImageHost clean
	make -C StillImageHost all

	make -C TestApp clean
	make -C TestApp all

	make -C USBtoSerial clean
	make -C USBtoSerial all

%:
	make -C AudioInput $@
	make -C AudioOutput $@
	make -C BluetoothHost $@
	make -C CDC $@
	make -C CDCHost $@
	make -C DualCDC $@
	make -C Joystick $@
	make -C KeyboardMouse $@
	make -C Keyboard $@
	make -C KeyboardFullInt $@
	make -C KeyboardViaInt $@
	make -C KeyboardHost $@
	make -C KeyboardHostWithParser $@
	make -C KeyboardHostViaInt $@
	make -C MassStorage $@
	make -C MassStorageHost $@
	make -C MIDI $@
	make -C Mouse $@
	make -C MouseFullInt $@
	make -C MouseViaInt $@
	make -C MouseHost $@
	make -C MouseHostWithParser $@
	make -C MouseHostViaInt $@
	make -C RNDISEthernet $@
	make -C StillImageHost $@
	make -C TestApp $@
	make -C USBtoSerial $@