aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErik Beck <traderbeckola@tahoma.com>2020-07-01 17:10:09 -0400
committerFelix Queißner <felix@ib-queissner.de>2020-07-01 23:24:04 +0200
commit23fac0268233bd468bb6e3126427ab6479d624ed (patch)
tree97fdb32fffef09e96a673719c1258af76cc60309 /Makefile
parentbe73532265c70f0c291d8d2d6e2f8236cb509430 (diff)
downloadkristall-23fac0268233bd468bb6e3126427ab6479d624ed.tar.gz
Added information to Makefile and BUILDING.md on how to build for Fedora 32, per request of repository owner
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7bb00af..e20d29f 100644
--- a/Makefile
+++ b/Makefile
@@ -11,14 +11,19 @@ INSTALL_DATA=$(INSTALL) -Dm 644
# Directories into which to install the various files
bindir=$(DESTDIR)$(PREFIX)/bin
sharedir=$(DESTDIR)$(PREFIX)/share
-QMAKE := /usr/bin/qmake-qt5
+
+# Default Qmake Command For Ubuntu (and probably other Debian) distributions
+
+QMAKE_COMMAND := qmake
+# For Fedora 32 and similar distributions, use the next line instead of the above.
+# QMAKE_COMMAND := /usr/bin/qmake-qt5
kristall: build/kristall
cp build/kristall $@
build/kristall: src/*
mkdir -p build
- cd build && $(QMAKE) ../src/kristall.pro && $(MAKE) $(MAKEFLAGS)
+ cd build && $(QMAKE_COMMAND) ../src/kristall.pro && $(MAKE) $(MAKEFLAGS)
install: kristall
# Install icons