From b6535c2473dcc4ffb2defb3af099ae8519eff1d0 Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Wed, 9 Feb 2022 18:33:35 +0000 Subject: [PATCH] Allow CC/CFLAGS/LDFLAGS to be overriden in Makefile Helpful when building a package. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 75af65d..9e688b6 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -CC = gcc -CFLAGS = -Wall -LDFLAGS = +CC ?= gcc +CFLAGS ?= -Wall +LDFLAGS ?= all: mqtt-arp -- 2.39.5