@@ -1,17 +1,8 @@
11diff --git a/app/app.pro b/app/app.pro
2−index 4d47065..a39a320 100644
2+index 29f9d9e..15fd2ff 100644
33--- a/app/app.pro
44+++ b/app/app.pro
5−@@ -18,6 +18,8 @@
6− TARGET = mindforger
7− TEMPLATE = app
8−
9−+include(../config.pri)
10−+
11− QT += widgets
12−
13− mfner {
14−@@ -297,7 +299,7 @@ RESOURCES += \
5+@@ -370,7 +370,7 @@ RESOURCES += \
156 # See http://doc.qt.io/qt-5/qmake-advanced-usage.html
167
178 binfile.files += mindforger
@@ -20,51 +11,11 @@ index 4d47065..a39a320 100644
2011 INSTALLS += binfile
2112
2213 # ########################################
23−diff --git a/config.pri b/config.pri
24−new file mode 100644
25−index 0000000..ce05df1
26−--- /dev/null
27−+++ b/config.pri
28−@@ -0,0 +1,3 @@
29−+isEmpty(PREFIX) {
30−+ PREFIX = /usr
31−+}
32−diff --git a/deps/discount/discount.pro b/deps/discount/discount.pro
33−index a8dfe35..ec16468 100644
34−--- a/deps/discount/discount.pro
35−+++ b/deps/discount/discount.pro
36−@@ -5,6 +5,8 @@
37− # Webpage: http://www.pell.portland.or.us/~orc/Code/discount/
38− #
39−
40−+include(../../config.pri)
41−+
42− QT -= core gui
43−
44− TARGET = discount
45−@@ -46,7 +48,7 @@ unix:!symbian {
46− maemo5 {
47− target.path = /opt/usr/lib
48− } else {
49−- target.path = /usr/lib
50−+ target.path = $$PREFIX/lib
51− }
52− INSTALLS += target
53− }
5414diff --git a/mindforger.pro b/mindforger.pro
55−index ae627f2..0953856 100644
15+index bd4f21d..6bb2dbc 100644
5616--- a/mindforger.pro
5717+++ b/mindforger.pro
58−@@ -32,6 +32,8 @@ TEMPLATE = subdirs
59−
60− SUBDIRS = deps lib app
61−
62−+include(config.pri)
63−+
64− # build dependencies
65− lib.depends = deps
66− app.depends = lib
67−@@ -44,20 +46,20 @@ app.depends = lib
18+@@ -43,20 +43,20 @@ app.depends = lib
6819 #IMPORTANT: binfile MUST be specified in app/app.pro (project next to/that builds binary)
6920
7021 docfiles.files += doc/*