From 7d00e39fe81a1b567dec3d73b5f9f2b5b4d0ca37 Mon Sep 17 00:00:00 2001 From: Dakota Walsh Date: Fri, 26 May 2023 09:48:40 +1200 Subject: [PATCH] use optional variables in Makefile --- Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 80634f4..e2ac010 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ # colorswap # See LICENSE for copyright and license details. -GO = go -RM = rm -INSTALL = install -SCDOC = scdoc -GOFLAGS = -PREFIX = /usr/local -BINDIR = bin +GO ?= go +RM ?= rm +INSTALL ?= install +SCDOC ?= scdoc +GOFLAGS ?= +PREFIX ?= /usr/local +BINDIR ?= bin all: colorswap -- 2.38.5