Switch over Demos, Bootloaders and Projects to the new and improved build system.
[pub/USBasp.git] / Projects / 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 Projects. Call with "make all" to
10 # rebuild all projects.
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 AVRISP-MKII clean all
18 $(MAKE) -s -C Benito clean all
19 $(MAKE) -s -C HIDReportViewer clean all
20 $(MAKE) -s -C LEDNotifier clean all
21 $(MAKE) -s -C Magstripe clean all
22 $(MAKE) -s -C MediaController clean all
23 $(MAKE) -s -C MIDIToneGenerator clean all
24 $(MAKE) -s -C MissileLauncher clean all
25 $(MAKE) -s -C RelayBoard clean all
26 $(MAKE) -s -C SerialToLCD clean all
27 $(MAKE) -s -C TempDataLogger clean all
28 $(MAKE) -s -C USBtoSerial clean all
29 $(MAKE) -s -C Webserver clean all
30 $(MAKE) -s -C XPLAINBridge clean all
31
32 %:
33 $(MAKE) -s -C AVRISP-MKII $@
34 $(MAKE) -s -C Benito $@
35 $(MAKE) -s -C HIDReportViewer $@
36 $(MAKE) -s -C LEDNotifier $@
37 $(MAKE) -s -C Magstripe $@
38 $(MAKE) -s -C MediaController $@
39 $(MAKE) -s -C MIDIToneGenerator $@
40 $(MAKE) -s -C MissileLauncher $@
41 $(MAKE) -s -C RelayBoard $@
42 $(MAKE) -s -C SerialToLCD $@
43 $(MAKE) -s -C TempDataLogger $@
44 $(MAKE) -s -C USBtoSerial $@
45 $(MAKE) -s -C Webserver $@
46 $(MAKE) -s -C XPLAINBridge $@
47