From 287cd3c63cc25c7d2e496815094a615ff1c57fde Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Wed, 27 May 2020 12:01:49 -0400 Subject: [PATCH] Inherit PREFIX and MANDIR from env Oops. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f5c9854..8bf93ab 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -PREFIX = /usr/local -MANDIR = ${PREFIX}/share/man +PREFIX ?= /usr/local +MANDIR ?= ${PREFIX}/share/man CFLAGS += -I${PREFIX}/include LDFLAGS += -L${PREFIX}/lib