X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/c86491af8b24679984a3fc5effc7675779652e4c..c7344c22ac700dacf55a8dc729111dd7781c5fed:/Demos/Host/ClassDriver/makefile diff --git a/Demos/Host/ClassDriver/makefile b/Demos/Host/ClassDriver/makefile index 993fe8b59..5c532f1a0 100644 --- a/Demos/Host/ClassDriver/makefile +++ b/Demos/Host/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 Host Demos. Call with "make all" to @@ -13,13 +13,10 @@ # custom LUFA library build options are reflected in the compiled # code. -all: - make -C CDCHost clean - make -C CDCHost all +PROJECT_DIRECTORIES = $(shell ls -d *) - make -C MouseHost clean - make -C MouseHost all +all: + @$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) clean all;) %: - make -C CDCHost $@ - make -C MouseHost $@ + @$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) $@;)