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 <jani@apache.org>
This commit is contained in:
parent
4c19d3da1d
commit
4c086a2609
22
makefile
Normal file
22
makefile
Normal file
@ -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 <foo>" 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
|
||||
Loading…
x
Reference in New Issue
Block a user