summaryrefslogtreecommitdiffstats
path: root/makefile
blob: f9b47c2cacfbe5087d58be8a5badf95ae869435e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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