From 5b1b5a997ecdd53905a00c8b0daf5e92c62f621e Mon Sep 17 00:00:00 2001
From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= <jerome.benoit@piment-noir.org>
Date: Mon, 6 Apr 2020 20:24:11 +0200
Subject: [PATCH] Makefile: allow to override the build type variable.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
---
 lexer/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lexer/Makefile b/lexer/Makefile
index bc63f97..7d9f41e 100644
--- a/lexer/Makefile
+++ b/lexer/Makefile
@@ -13,7 +13,7 @@
 # http://make.mad-scientist.net/papers/advanced-auto-dependency-generation/#tldr
 BINARY_NAME=lexer
 #BUILD_TYPE=debug
-BUILD_TYPE=release
+BUILD_TYPE?=release
 
 # ====================================
 # DO NOT CHANGE STUFF BEYOND THIS LINE
-- 
2.43.0