File fairymax-makefile.patch of Package fairymax
Index: fairymax-5.0b/Makefile
===================================================================
--- fairymax-5.0b.orig/Makefile
+++ fairymax-5.0b/Makefile
@@ -1,5 +1,5 @@
srcdir = .
-prefix = /usr/local
+prefix = /usr
bindir = $(prefix)/bin
mandir = $(prefix)/share/man
datadir = $(prefix)/share
@@ -7,7 +7,7 @@ plugindir = $(datadir)/games/plugins
fairydir = $(datadir)/games/fairymax
CC?=gcc
-CFLAGS?= -O2 -s
+CFLAGS?= $(RPM_OPT_FLAGS)
INI_Q?=$(fairydir)/qmax.ini
VERSION?=`grep 'define VERSION' fairymax.c | sed -e 's/.*"\(.*\)".*/\1/'`