2018-06-12 10:35:37 +00:00
|
|
|
# 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
|
2018-07-06 13:26:54 +00:00
|
|
|
cd build-mobile; make
|
|
|
|
cd build-mobile; make install
|
2018-06-12 10:35:37 +00:00
|
|
|
|
|
|
|
desktop:
|
|
|
|
if test ! -d build; then (echo "error: please run build.sh before make"; exit -1;); fi
|
2018-07-06 13:26:54 +00:00
|
|
|
cd build; make
|
|
|
|
cd build; make install
|
2018-06-12 10:35:37 +00:00
|
|
|
|
2018-07-05 20:41:22 +00:00
|
|
|
check:
|
|
|
|
if test ! -d build; then (echo "error: please run build.sh before make"; exit -1;); fi
|
2018-07-06 13:26:54 +00:00
|
|
|
cd build; make check
|
2018-07-05 20:41:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
all: desktop mobile check
|