aboutsummaryrefslogtreecommitdiff
path: root/build.sh
blob: 6848d31b7d3d4dd6ef2f1f142e532eb050309c95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

ROOT="$(dirname "$(readlink -f "$0")")"

mkdir -p build
cd build

# Compile
qtchooser -run-tool=qmake -qt=5 "$ROOT" "QMAKE_RPATHDIR += ../qtmips_machine"
make

# Link executables to more suitable place
ln -fs qtmips_cli/qtmips_cli cli
ln -fs qtmips_gui/qtmips_gui gui