X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/d887c0c73cbfc16a1e51207041fd94399de70c29..6f90d45684206e5dfca3c4554a14a5784da49d92:/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) $@;)