X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/df5500e81cc40633eb5edee59410030f0aa77c2d..c7344c22ac700dacf55a8dc729111dd7781c5fed:/Demos/Host/ClassDriver/makefile diff --git a/Demos/Host/ClassDriver/makefile b/Demos/Host/ClassDriver/makefile index 730d28a78..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,17 +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 MassStorageHost clean - make -C MassStorageHost all - %: - make -C CDCHost $@ - make -C MouseHost $@ - make -C MassStorageHost $@ + @$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) $@;)