--- ./Makefile.orig	2012-06-03 02:10:16.959537483 +0200
+++ ./Makefile	2012-06-03 02:10:20.312769958 +0200
@@ -4,7 +4,7 @@
 USELIBCONFIG=1	# Use libconfig? (necessary to use configuration files)
 USELIBWRAP=	# Use libwrap?
 COV_TEST= 	# Perform test coverage?
-PREFIX=/usr/local
+PREFIX ?=/usr/local
 
 MAN=sslh.8.gz	# man page name
 
@@ -15,10 +15,9 @@
     CFLAGS_COV=-fprofile-arcs -ftest-coverage
 endif
 
-CC = gcc
-CFLAGS=-Wall -g $(CFLAGS_COV)
+CC ?= gcc
+CFLAGS ?=-Wall -g $(CFLAGS_COV)
 
-LIBS=
 OBJS=common.o sslh-main.o probe.o
 
 ifneq ($(strip $(USELIBWRAP)),)
