aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/makefile
blob: 85c86058e53cd26ac0f56398c5accb629fe3b4ab (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
#
#             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 MassStorage 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 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 MassStorage $@
	$(MAKE) -s -C MIDI $@
	$(MAKE) -s -C Mouse $@
	$(MAKE) -s -C RNDISEthernet $@
	$(MAKE) -s -C VirtualSerial $@