--- Makefile.orig	2025-04-23 16:17:38.000000000 +0200
+++ Makefile	2025-08-11 21:18:50.000000000 +0200
@@ -4,7 +4,7 @@
 #######################################################################
 
 # Directory where qiv will be installed under.
-PREFIX = /usr/local
+PREFIX = $(DESTDIR)@PREFIX@
 
 # Fonts to use for statusbar and comments
 STATUSBAR_FONT = "Monospace 9"
@@ -56,8 +56,9 @@
 PKG_CONFIG ?= pkg-config
 INSTALL    ?= install
 CFLAGS    = -O2 -Wall \
-	    -fcaller-saves -ffast-math -fno-strength-reduce \
-	    -fthread-jumps
+	    -ffast-math -fno-strength-reduce
+#	    -fcaller-saves -ffast-math -fno-strength-reduce \
+#	    -fthread-jumps
 
 GDK_VERS := 3
 
@@ -169,10 +170,7 @@
 	  $(INSTALL) -d -m 0755 $(PREFIX)/share/applications; \
 	fi
 	$(INSTALL) -m 0644 qiv.desktop $(PREFIX)/share/applications/qiv.desktop
-	@if ./qiv -f ./intro.jpg ; \
-	then echo "-- Test Passed --" ; \
-	else echo "-- Test Failed --" ; \
-	fi
+	@echo "-- Test Skipped --"
 	@echo "\nDont forget to look into the \"qiv-command\" file and install it!\n-> cp qiv-command.example $(PREFIX)/bin/qiv-command\n\n"
 
 # the end... ;-)
