aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMakefile.in5
-rw-r--r--Makefile.include.in1
-rw-r--r--xbmc/utils/test/Makefile2
3 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index c19f7721e3..a491dae542 100755
--- a/Makefile.in
+++ b/Makefile.in
@@ -198,6 +198,8 @@ FINAL_TARGETS=xbmc.bin skins xbmc-xrandr
endif
FINAL_TARGETS+=Makefile externals
+CHECK_DIRS = xbmc/utils/test
+
all : $(FINAL_TARGETS)
@echo '-----------------------'
@echo 'XBMC built successfully'
@@ -486,3 +488,6 @@ clean-codecs: clean-dvdpcodecs clean-papcodecs
clean-externals: clean-codecs clean-eventclients clean-xbmctex clean-libs \
clean-screensavers clean-visualisations
+
+check:
+ for d in $(CHECK_DIRS); do if test -f $$d/Makefile; then $(MAKE) -C $$d $@; fi; done
diff --git a/Makefile.include.in b/Makefile.include.in
index d0d44bda48..c7eb9aa4d4 100644
--- a/Makefile.include.in
+++ b/Makefile.include.in
@@ -132,6 +132,7 @@ pch: $(PCH:.h=.h.gch)
clean:
$(RM) $(OBJS) *.o $(LIB) $(SLIB) $(CLEAN_FILES) $(PCH:.h=.h.gch) $(DEPS)
for d in $(DIRS); do (if test -f "$$d/Makefile"; then ($(MAKE) -C "$$d" clean); fi ); done
+ for d in $(CHECK_DIRS); do if test -f $$d/Makefile; then $(MAKE) -C $$d $@; fi; done
distclean:
$(RM) $(OBJS) *.o $(LIB) $(SLIB) $(STATICLIB) $(CLEAN_FILES) $(DISTCLEAN_FILES) $(PCH:.h=.h.gch) $(DEPS)
diff --git a/xbmc/utils/test/Makefile b/xbmc/utils/test/Makefile
index 71988c3f30..5593cc6f4b 100644
--- a/xbmc/utils/test/Makefile
+++ b/xbmc/utils/test/Makefile
@@ -6,7 +6,7 @@ LIB=utilsTest.a
CLEAN_FILES=testMain
-runtest: testMain
+check: testMain
./testMain
include ../../../Makefile.include