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