3 # Copyright (C) Dean Camera, 2012.
5 # dean [at] fourwalledcubicle [dot] com
9 # Makefile to build all the LUFA Dual Role Demos. Call with "make all" to
10 # rebuild all Dual Role demos.
12 # Projects are pre-cleaned before each one is built, to ensure any
13 # custom LUFA library build options are reflected in the compiled
16 PROJECT_DIRECTORIES = $(shell ls -d *)
19 @$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) clean all;)
22 @$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) $@;)