From 1bd6d0f5f0ce5c7a757779530a048cfc9fc06b81 Mon Sep 17 00:00:00 2001 From: "Dmitrij D. Czarkoff" Date: Thu, 11 Aug 2016 00:29:21 +0200 Subject: [PATCH] Allow overriding default CFLAGS --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9e1d9b1..912cc62 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,8 @@ SDL_LIBS != pkg-config --libs sdl LIB_VERSION = 1.0 -QUIRC_CFLAGS = -O3 -Wall -Ilib $(CFLAGS) $(SDL_CFLAGS) +CFLAGS ?= -O3 -Wall +QUIRC_CFLAGS = -Ilib $(CFLAGS) $(SDL_CFLAGS) LIB_OBJ = \ lib/decode.o \ lib/identify.o \