X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/d887c0c73cbfc16a1e51207041fd94399de70c29..10944d9ddf80235bcc38cd9548e82604d5b72bb4:/Projects/makefile diff --git a/Projects/makefile b/Projects/makefile index 5c30bc981..2bc9f98b1 100644 --- a/Projects/makefile +++ b/Projects/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) $@;)