From 4c086a260950a5319792adf141644e5d81ffa531 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Tue, 12 Jun 2018 12:35:37 +0200 Subject: ssrf: add makefile at ssrf level add makefile at ssrf level to ease make calls it can be called as: make make all - will generate both desktop and mobile make mobile - will mobile make - will generate desktop Signed-off-by: Jan Iversen --- makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 makefile diff --git a/makefile b/makefile new file mode 100644 index 000000000..f9b47c2ca --- /dev/null +++ b/makefile @@ -0,0 +1,22 @@ +# SPDX-License-Identifier: GPL-2.0 + +# Default target executed when no arguments are given to make. +default_target: all + +.PHONY : default_target + +# Allow only one "make -f " at a time, but pass parallelism. +.NOTPARALLEL: + + +mobile: + if test ! -d build-mobile; then (echo "error: please run build.sh before make"; exit -1;); fi + cd build-mobile; LIBRARY_PATH=../install_root/lib make + cd build-mobile; LIBRARY_PATH=../install_root/lib make install + +desktop: + if test ! -d build; then (echo "error: please run build.sh before make"; exit -1;); fi + cd build; LIBRARY_PATH=../install_root/lib make + cd build; LIBRARY_PATH=../install_root/lib make install + +all: desktop mobile -- cgit v1.2.3-70-g09d2