Makefile: allow to override the build type variable. master
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 6 Apr 2020 18:24:11 +0000 (20:24 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 6 Apr 2020 18:24:11 +0000 (20:24 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
lexer/Makefile

index bc63f9748f0c46ac5d506ead87aff083c33bdc69..7d9f41e3358b01cf0ddbe6b487b35ea5951e3705 100644 (file)
@@ -13,7 +13,7 @@
 # http://make.mad-scientist.net/papers/advanced-auto-dependency-generation/#tldr
 BINARY_NAME=lexer
 #BUILD_TYPE=debug
 # 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
 
 # ====================================
 # DO NOT CHANGE STUFF BEYOND THIS LINE