Merge pull request #95 from dogsleg/master
authorMichael Göhler <somebody.here@gmx.de>
Sun, 20 Dec 2015 10:44:09 +0000 (11:44 +0100)
committerMichael Göhler <somebody.here@gmx.de>
Sun, 20 Dec 2015 10:44:09 +0000 (11:44 +0100)
making PREFIX overridable, but still /usr/local by default

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