From 70c000c905233030b9b2291deaa294413720f708 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Thu, 5 Jul 2018 22:41:22 +0200 Subject: ssrf: add "make check" to central makefile extend ssrf/makefile with "make check" option. This is just a convinience function, to not need to "cd build" first Signed-off-by: Jan Iversen --- makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'makefile') diff --git a/makefile b/makefile index f9b47c2ca..effbdb4b2 100644 --- a/makefile +++ b/makefile @@ -19,4 +19,9 @@ desktop: cd build; LIBRARY_PATH=../install_root/lib make cd build; LIBRARY_PATH=../install_root/lib make install -all: desktop mobile +check: + if test ! -d build; then (echo "error: please run build.sh before make"; exit -1;); fi + cd build; LIBRARY_PATH=../install_root/lib make check + + +all: desktop mobile check -- cgit v1.2.3-70-g09d2