06552493e47eb00bd71d015f48853823ddbbde7e
[pub/USBasp.git] / Demos / DualRole / 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 Dual Role Demos. Call with "make all" to
10 # rebuild all Dual Role 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 PROJECT_DIRECTORIES = $(shell ls -d *)
17
18 all:
19 @$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) clean all;)
20
21 %:
22 @$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) $@;)
23
24