From 7f70c8b728165f5e8fd0cbf318bef862016f7dc3 Mon Sep 17 00:00:00 2001 From: Dan Kalowsky Date: Wed, 22 Aug 2018 14:37:11 -0700 Subject: [PATCH] Makefile: set PREFIX to conditional assignment When the variable PREFIX is provided on the command line, do not override the value. Signed-off-by: Dan Kalowsky --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b731cab..b9a61fb 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PREFIX=/usr/local +PREFIX ?= /usr/local TASK_DONE = echo -e "\n✓ $@ done\n" # files that need mode 755 EXEC_FILES=git-quick-stats