making PREFIX overridable, but still /usr/local by default
[smdp.git] / 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