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/?p=mqtt-arp.git;a=commitdiff_plain;h=b6535c2473dcc4ffb2defb3af099ae8519eff1d0;hp=670acb35f09c59e599f4fc7371b33613e567f830 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