X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/fa8d25ef29eb9e96f9089d17eeb64b3a5edb8e66..8f8f3478917401f3d286dafd73902e9d80b527d2:/Demos/DualRole/ClassDriver/makefile diff --git a/Demos/DualRole/ClassDriver/makefile b/Demos/DualRole/ClassDriver/makefile index 7417a78ec..06552493e 100644 --- a/Demos/DualRole/ClassDriver/makefile +++ b/Demos/DualRole/ClassDriver/makefile @@ -1,9 +1,9 @@ # # LUFA Library -# Copyright (C) Dean Camera, 2009. -# +# Copyright (C) Dean Camera, 2012. +# # dean [at] fourwalledcubicle [dot] com -# www.fourwalledcubicle.com +# www.lufa-lib.org # # Makefile to build all the LUFA Dual Role Demos. Call with "make all" to @@ -13,9 +13,12 @@ # custom LUFA library build options are reflected in the compiled # code. +PROJECT_DIRECTORIES = $(shell ls -d *) + all: - make -C MouseHostDevice clean - make -C MouseHostDevice all + @$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) clean all;) %: - make -C MouseHostDevice $@ + @$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) $@;) + +