WIP: mod: Makefile (sandbox/pcoval/on/master/debian)
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Thu, 23 Mar 2017 18:16:26 +0000 (19:16 +0100)
committerPhilippe Coval <philippe.coval@osg.samsung.com>
Tue, 18 Apr 2017 12:34:42 +0000 (14:34 +0200)
Change-Id: I30c453e4e73366a8023f1162103b7407937e2179
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Makefile

index 706de3c..158ee52 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -107,11 +107,15 @@ build: SConstruct
        scons ${config_build}
 
 
-check: auto_build.sh
-       ${<D}/${<F} unit_tests \
+check/%: auto_build.sh
+       ${<D}/${<F} unit_tests\
  && "log: $@: succeeded" \
  || echo "warning: $@: failed and ignored, TODO: fix $@ (and don't ignore $@ failures)"
 
+check/default: auto_build.sh
+       ${<D}/${<F} unit_tests
+
+check: check/${host_arch}
 
 
 install: