From: Teemu Ikonen <tpikonen@gmail.com>
Date: Thu, 11 Oct 2018 10:50:23 +0300
Subject: makefile-fix: Pick up CFLAGS and LDFLAGS from the environment.

---
 Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index cca3671..023496c 100644
--- a/Makefile
+++ b/Makefile
@@ -588,9 +588,8 @@ endif
 #########################################################
 CC	= gcc
 C++	= g++
-#CFLAGS  = -g -O0 -Wall -D_USE_XOPEN_EXTENDED -fno-strict-aliasing -DCBFDEBUG=1
-CFLAGS  = -g -O3 -Wall -D_USE_XOPEN_EXTENDED -fno-strict-aliasing
-LDFLAGS =
+CFLAGS  += -g -O3 -Wall -D_USE_XOPEN_EXTENDED -fno-strict-aliasing
+LDFLAGS +=
 F90C = gfortran
 F90FLAGS = -g -fno-range-check
 F90LDFLAGS =
