projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up bootloader makefiles to make them a bit more readable.
[pub/USBasp.git]
/
Bootloaders
/
makefile
diff --git
a/Bootloaders/makefile
b/Bootloaders/makefile
index
0c183e7
..
01aa506
100644
(file)
--- a/
Bootloaders/makefile
+++ b/
Bootloaders/makefile
@@
-23,7
+23,9
@@
ifeq ($(MAKELEVEL), 10)
endif
all:
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) $@;)