making PREFIX overridable, but still /usr/local by default
authorLev Lamberov <dogsleg@debian.org>
Tue, 15 Dec 2015 18:35:53 +0000 (23:35 +0500)
committerLev Lamberov <dogsleg@debian.org>
Tue, 15 Dec 2015 18:35:53 +0000 (23:35 +0500)
Makefile

index 9c63e0a..1d6f3ef 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ SOURCES = $(wildcard src/*.c)
 OBJECTS = $(SOURCES:.c=.o)
 TARGET  = mdp
 DESTDIR =
-PREFIX  = /usr/local
+PREFIX  ?= /usr/local
 
 CURSES  = ncursesw
 LDFLAGS ?= -s