about summary refs log tree commit diff stats
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index 6c0501d..8f1c34d 100644
--- a/config.mk
+++ b/config.mk
@@ -1,4 +1,7 @@
+ifeq ($(PREFIX),)
 PREFIX = /usr/local
+endif
+
 BUILD_DIR = build
 NAME = libumumble
 SNAME = $(NAME).a