diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2008-12-22 19:32:23 +0100 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2008-12-22 19:32:23 +0100 |
commit | 90af43e4c1736d3c4bb587ddb1c1b4030bb3100f (patch) | |
tree | 803b90ce9f0aa10d1e3ac001efd5c5157fe65324 /makefiles | |
parent | e446574ef62b30b7defe2171c81eb574fd297d57 (diff) | |
download | wolfbones-90af43e4c1736d3c4bb587ddb1c1b4030bb3100f.tar.gz wolfbones-90af43e4c1736d3c4bb587ddb1c1b4030bb3100f.tar.bz2 |
fixed recursive make tests
Diffstat (limited to 'makefiles')
-rw-r--r-- | makefiles/sub.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/makefiles/sub.mk b/makefiles/sub.mk index 644dc3c..cab1635 100644 --- a/makefiles/sub.mk +++ b/makefiles/sub.mk @@ -16,5 +16,10 @@ all: local_all $(OBJS) $(CPPOBJS) $(BIN_OBJS) $(BINS) $(CMODULES) $(CPPMODULES) @test -z "$(SUBDIRS)" || ( set -e; for d in $(SUBDIRS)""; do \ (set -e; $(MAKE) -C $$d all || exit 1); done) +.PHONY: test local_test +test: local_test + @test -z "$(SUBDIRS)" || ( set -e; for d in $(SUBDIRS)""; do \ + (set -e; $(MAKE) -C $$d test || exit 1); done) + -include $(TOPDIR)/makefiles/depend.mk -include $(TOPDIR)/makefiles/clean.mk |