X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/d887c0c73cbfc16a1e51207041fd94399de70c29..73a87a8c7b2e554779f9b060b18d8380ccd9045f:/Demos/Device/LowLevel/makefile diff --git a/Demos/Device/LowLevel/makefile b/Demos/Device/LowLevel/makefile index 99e7c24a1..ad8800091 100644 --- a/Demos/Device/LowLevel/makefile +++ b/Demos/Device/LowLevel/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) $@;)