aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/DualRole/ClassDriver/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/DualRole/ClassDriver/makefile')
-rw-r--r--Demos/DualRole/ClassDriver/makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Demos/DualRole/ClassDriver/makefile b/Demos/DualRole/ClassDriver/makefile
index 28e06a3c1..f01e5a88a 100644
--- a/Demos/DualRole/ClassDriver/makefile
+++ b/Demos/DualRole/ClassDriver/makefile
@@ -13,9 +13,12 @@
# custom LUFA library build options are reflected in the compiled
# code.
+PROJECT_DIRECTORIES = $(shell ls -d *)
+
all:
- $(MAKE) -s -C MouseHostDevice clean all
+ $(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) clean all;)
%:
- $(MAKE) -s -C MouseHostDevice $@
+ $(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) $@;)
+