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