--- Makefile.orig	2017-10-27 15:25:56 UTC
+++ Makefile
@@ -3,15 +3,14 @@ VERSION = 24
 srcdir = .
 VPATH = $(srcdir)
 
-PREFIX = /usr/local
-MANPREFIX = $(PREFIX)/share/man
+PREFIX ?= /usr/local
+MANPREFIX = $(PREFIX)/man
 
-CC = cc
-DEF_CFLAGS = -std=c99 -Wall -pedantic
+DEF_CFLAGS = -std=c99 -Wall -pedantic $$(pkg-config --cflags xft)
 DEF_CPPFLAGS = -I/usr/include/freetype2
 
 # autoreload backend: inotify/nop
-AUTORELOAD = inotify
+AUTORELOAD = nop
 
 # enable features requiring giflib (-lgif)
 HAVE_GIFLIB = 1
