makefile 1.58 KB
Newer Older
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
10
11
12
13
14
15
16
#

# 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:
17
18
	$(MAKE) -C AudioInput clean
	$(MAKE) -C AudioInput all
19

20
21
	$(MAKE) -C AudioOutput clean
	$(MAKE) -C AudioOutput all
22

23
24
	$(MAKE) -C DualVirtualSerial clean
	$(MAKE) -C DualVirtualSerial all
25

26
27
	$(MAKE) -C GenericHID clean
	$(MAKE) -C GenericHID all
28

29
30
	$(MAKE) -C Joystick clean
	$(MAKE) -C Joystick all
31

32
33
	$(MAKE) -C Keyboard clean
	$(MAKE) -C Keyboard all
34

35
36
	$(MAKE) -C KeyboardMouse clean
	$(MAKE) -C KeyboardMouse all
37

38
39
	$(MAKE) -C MassStorage clean
	$(MAKE) -C MassStorage all
40

41
42
	$(MAKE) -C MassStorageKeyboard clean
	$(MAKE) -C MassStorageKeyboard all
43

44
45
	$(MAKE) -C MIDI clean
	$(MAKE) -C MIDI all
46

47
48
	$(MAKE) -C Mouse clean
	$(MAKE) -C Mouse all
49

50
51
	$(MAKE) -C RNDISEthernet clean
	$(MAKE) -C RNDISEthernet all
52

53
54
	$(MAKE) -C VirtualSerial clean
	$(MAKE) -C VirtualSerial all
55

56
	$(MAKE) -C VirtualSerialMouse clean
57
58
	$(MAKE) -C VirtualSerialMouse all

59
%:
60
61
62
63
64
65
66
67
68
69
70
71
72
73
	$(MAKE) -C AudioInput $@
	$(MAKE) -C AudioOutput $@
	$(MAKE) -C DualVirtualSerial $@
	$(MAKE) -C GenericHID $@
	$(MAKE) -C Joystick $@
	$(MAKE) -C Keyboard $@
	$(MAKE) -C KeyboardMouse $@
	$(MAKE) -C MassStorage $@
	$(MAKE) -C MassStorageKeyboard $@
	$(MAKE) -C MIDI $@
	$(MAKE) -C Mouse $@
	$(MAKE) -C RNDISEthernet $@
	$(MAKE) -C VirtualSerial $@
	$(MAKE) -C VirtualSerialMouse $@
74