aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/makefile
blob: 334a6d3a6d9152098a5f24b338974494ab2b8590 (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
#
#             LUFA Library
#     Copyright (C) Dean Camera, 2011.
#
#  dean [at] fourwalledcubicle [dot] com
#           www.lufa-lib.org
#

# Makefile to build all the LUFA Device Demos. Call with "make all" to
# rebuild all Device 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 DualVirtualSerial clean
	$(MAKE) -C DualVirtualSerial all

	$(MAKE) -C GenericHID clean
	$(MAKE) -C GenericHID all

	$(MAKE) -C Joystick clean
	$(MAKE) -C Joystick all

	$(MAKE) -C Keyboard clean
	$(MAKE) -C Keyboard all

	$(MAKE) -C KeyboardMouse clean
	$(MAKE) -C KeyboardMouse all

	$(MAKE) -C KeyboardMouseMultiReport clean
	$(MAKE) -C KeyboardMouseMultiReport all

	$(MAKE) -C MassStorage clean
	$(MAKE) -C MassStorage all

	$(MAKE) -C MassStorageKeyboard clean
	$(MAKE) -C MassStorageKeyboard all

	$(MAKE) -C MIDI clean
	$(MAKE) -C MIDI all

	$(MAKE) -C Mouse clean
	$(MAKE) -C Mouse all

	$(MAKE) -C RNDISEthernet clean
	$(MAKE) -C RNDISEthernet all

	$(MAKE) -C VirtualSerial clean
	$(MAKE) -C VirtualSerial all

	$(MAKE) -C VirtualSerialMouse clean
	$(MAKE) -C VirtualSerialMouse all

	$(MAKE) -C VirtualSerialMassStorage clean
	$(MAKE) -C VirtualSerialMassStorage all

%:
	$(MAKE) -C AudioInput $@
	$(MAKE) -C AudioOutput $@
	$(MAKE) -C DualVirtualSerial $@
	$(MAKE) -C GenericHID $@
	$(MAKE) -C Joystick $@
	$(MAKE) -C Keyboard $@
	$(MAKE) -C KeyboardMouse $@
	$(MAKE) -C KeyboardMouseMultiReport $@
	$(MAKE) -C MassStorage $@
	$(MAKE) -C MassStorageKeyboard $@
	$(MAKE) -C MIDI $@
	$(MAKE) -C Mouse $@
	$(MAKE) -C RNDISEthernet $@
	$(MAKE) -C VirtualSerial $@
	$(MAKE) -C VirtualSerialMouse $@
	$(MAKE) -C VirtualSerialMassStorage $@