projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct BuildTest makefiles to use LUFA_PATH rather than LUFA_ROOT_PATH.
[pub/USBasp.git]
/
Projects
/
makefile
diff --git
a/Projects/makefile
b/Projects/makefile
index
81bf714
..
50ce7ad
100644
(file)
--- a/
Projects/makefile
+++ b/
Projects/makefile
@@
-1,9
+1,9
@@
#
# LUFA Library
#
# LUFA Library
-# Copyright (C) Dean Camera, 20
09
.
-#
+# Copyright (C) Dean Camera, 20
12
.
+#
# dean [at] fourwalledcubicle [dot] com
# dean [at] fourwalledcubicle [dot] com
-#
www.fourwalledcubicle.com
+#
www.lufa-lib.org
#
# Makefile to build all the LUFA Projects. Call with "make all" to
#
# Makefile to build all the LUFA Projects. Call with "make all" to
@@
-13,21
+13,10
@@
# custom LUFA library build options are reflected in the compiled
# code.
# custom LUFA library build options are reflected in the compiled
# code.
-all:
- make -C AVRISP clean
- make -C AVRISP all
-
- make -C Benito clean
- make -C Benito all
+PROJECT_DIRECTORIES = $(shell ls -d *)
- make -C Magstripe clean
- make -C Magstripe all
-
- make -C MissileLauncher clean
- make -C MissileLauncher all
+all:
+ @$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) clean all;)
%:
%:
- make -C AVRISP $@
- make -C Benito $@
- make -C Magstripe $@
- make -C MissileLauncher $@
+ @$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) $@;)