makefile 1.47 KB
Newer Older
1
2
#
#             LUFA Library
Dean Camera's avatar
Dean Camera committed
3
#     Copyright (C) Dean Camera, 2010.
4
5
6
7
8
9
10
11
12
13
14
15
16
#              
#  dean [at] fourwalledcubicle [dot] com
#      www.fourwalledcubicle.com
#

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

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

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

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

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

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

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

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

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

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

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

50
%:
51
52
53
54
55
56
57
58
59
60
	$(MAKE) -C GenericHIDHost $@
	$(MAKE) -C JoystickHostWithParser $@
	$(MAKE) -C KeyboardHost $@
	$(MAKE) -C KeyboardHostWithParser $@
	$(MAKE) -C MassStorageHost $@
	$(MAKE) -C MIDIHost $@
	$(MAKE) -C MouseHost $@
	$(MAKE) -C MouseHostWithParser $@
	$(MAKE) -C PrinterHost $@
	$(MAKE) -C RNDISEthernetHost $@
61
	$(MAKE) -C StillImageHost $@
62
	$(MAKE) -C VirtualSerialHost $@