From: Lev Lamberov Date: Tue, 15 Dec 2015 18:35:53 +0000 (+0500) Subject: making PREFIX overridable, but still /usr/local by default X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=2d6cbed477085b8f9d144d80f06e23a331260197;p=smdp.git making PREFIX overridable, but still /usr/local by default --- diff --git a/Makefile b/Makefile index 9c63e0a..1d6f3ef 100644 --- 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