projects
/
simavr
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Migration to github, added some documentation and screenshots
[simavr]
/
examples
/
Makefile
diff --git
a/examples/Makefile
b/examples/Makefile
index
e9ef6c5
..
b08ba6f
100644
(file)
--- a/
examples/Makefile
+++ b/
examples/Makefile
@@
-1,7
+1,15
@@
+boards_base=${wildcard board_*}
+# remove vhci example on anything but linux
+ifneq (${shell uname}, Linux)
+boards=${subst board_usb,,$(boards_base)}
+else
+boards=$(boards_base)
+endif
+
all:
all:
- make -C board_ledramp
+ for bi in ${boards}; do make -C $$bi; done
clean:
clean:
- make -C board_ledramp clean
+ for bi in ${boards}; do make -C $$bi clean; done