From: Jonathan McDowell Date: Wed, 9 Feb 2022 18:33:35 +0000 (+0000) Subject: Allow CC/CFLAGS/LDFLAGS to be overriden in Makefile X-Git-Url: https://the.earth.li/gitweb/?a=commitdiff_plain;h=b6535c2473dcc4ffb2defb3af099ae8519eff1d0;p=mqtt-arp.git Allow CC/CFLAGS/LDFLAGS to be overriden in Makefile Helpful when building a package. --- 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