aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/makefile
blob: 247eb7978a5c9037f87d82ea4d7f3f1072ce36b1 (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
#
#             LUFA Library
#     Copyright (C) Dean Camera, 2012.
#
#  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) -s -C AudioInput clean all
	$(MAKE) -s -C AudioOutput clean all
	$(MAKE) -s -C DualVirtualSerial clean all
	$(MAKE) -s -C GenericHID clean all
	$(MAKE) -s -C Joystick clean all
	$(MAKE) -s -C Keyboard clean all
	$(MAKE) -s -C KeyboardMouse clean all
	$(MAKE) -s -C KeyboardMouseMultiReport clean all
	$(MAKE) -s -C MassStorage clean all
	$(MAKE) -s -C MassStorageKeyboard clean all
	$(MAKE) -s -C MIDI clean all
	$(MAKE) -s -C Mouse clean all
	$(MAKE) -s -C RNDISEthernet clean all
	$(MAKE) -s -C VirtualSerial clean all
	$(MAKE) -s -C VirtualSerialMouse clean all
	$(MAKE) -s -C VirtualSerialMassStorage clean all

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