aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGareth McMullin2011-03-13 14:50:53 +1300
committerGareth McMullin2011-03-13 14:50:53 +1300
commit95286a22f0bb6a822b4d2a62611bcc7b2c2daa8b (patch)
tree8aa7847736ac65a5d6e7e9f0e1bf6d0715994484 /Makefile
parent08990e5243de216a599add8d5c2b4b5740cf6a7b (diff)
More build improvements and fixed broken examples.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index aa4933c..9f3be8d 100644
--- a/Makefile
+++ b/Makefile
@@ -46,7 +46,7 @@ lib:
done
examples:
- $(Q)for i in $(addsuffix /*,$(addprefix $@/,$(TARGETS))); do \
+ $(Q)for i in $(addsuffix /*/*,$(addprefix $@/,$(TARGETS))); do \
if [ -d $$i ]; then \
printf " BUILD $$i\n"; \
$(MAKE) -C $$i; \
@@ -65,8 +65,9 @@ install: lib
clean:
$(Q)for i in $(addprefix lib/,$(TARGETS)) \
- $(addsuffix /*,$(addprefix examples/,$(TARGETS))); do \
+ $(addsuffix /*/*,$(addprefix examples/,$(TARGETS))); do \
if [ -d $$i ]; then \
+ printf " CLEAN $$i\n"; \
$(MAKE) -C $$i clean; \
fi; \
done