X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/a57c4eabae4e137346dd2d53e699e2b5625202ba..6655815b32fc26f15e83bf12d14a6684f70e2d31:/Demos/Device/ClassDriver/makefile diff --git a/Demos/Device/ClassDriver/makefile b/Demos/Device/ClassDriver/makefile index 99e7c24a1..0e1dfae05 100644 --- a/Demos/Device/ClassDriver/makefile +++ b/Demos/Device/ClassDriver/makefile @@ -23,7 +23,9 @@ ifeq ($(MAKELEVEL), 10) endif all: +ifeq ($(OBJDIR),) @$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) clean all;) +endif %: @$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) $@;)