Switch over Demos, Bootloaders and Projects to the new and improved build system.
[pub/USBasp.git] / Demos / Device / ClassDriver / makefile
1 #
2 # LUFA Library
3 # Copyright (C) Dean Camera, 2012.
4 #
5 # dean [at] fourwalledcubicle [dot] com
6 # www.lufa-lib.org
7 #
8
9 # Makefile to build all the LUFA Device Demos. Call with "make all" to
10 # rebuild all Device demos.
11
12 # Projects are pre-cleaned before each one is built, to ensure any
13 # custom LUFA library build options are reflected in the compiled
14 # code.
15
16 all:
17 $(MAKE) -s -C AudioInput clean all
18 $(MAKE) -s -C AudioOutput clean all
19 $(MAKE) -s -C DualVirtualSerial clean all
20 $(MAKE) -s -C GenericHID clean all
21 $(MAKE) -s -C Joystick clean all
22 $(MAKE) -s -C Keyboard clean all
23 $(MAKE) -s -C KeyboardMouse clean all
24 $(MAKE) -s -C KeyboardMouseMultiReport clean all
25 $(MAKE) -s -C MassStorage clean all
26 $(MAKE) -s -C MassStorageKeyboard clean all
27 $(MAKE) -s -C MIDI clean all
28 $(MAKE) -s -C Mouse clean all
29 $(MAKE) -s -C RNDISEthernet clean all
30 $(MAKE) -s -C VirtualSerial clean all
31 $(MAKE) -s -C VirtualSerialMouse clean all
32 $(MAKE) -s -C VirtualSerialMassStorage clean all
33
34 %:
35 $(MAKE) -s -C AudioInput $@
36 $(MAKE) -s -C AudioOutput $@
37 $(MAKE) -s -C DualVirtualSerial $@
38 $(MAKE) -s -C GenericHID $@
39 $(MAKE) -s -C Joystick $@
40 $(MAKE) -s -C Keyboard $@
41 $(MAKE) -s -C KeyboardMouse $@
42 $(MAKE) -s -C KeyboardMouseMultiReport $@
43 $(MAKE) -s -C MassStorage $@
44 $(MAKE) -s -C MassStorageKeyboard $@
45 $(MAKE) -s -C MIDI $@
46 $(MAKE) -s -C Mouse $@
47 $(MAKE) -s -C RNDISEthernet $@
48 $(MAKE) -s -C VirtualSerial $@
49 $(MAKE) -s -C VirtualSerialMouse $@
50 $(MAKE) -s -C VirtualSerialMassStorage $@
51