Description: allow one to override flags in Makefile
Author: Christian T. Steigies <cts@debian.org>
Last-Update: 2018-05-15
--- a/Makefile
+++ b/Makefile
@@ -5,14 +5,14 @@
 
 CC=             gcc
 ifeq ($(USE_READLINE),no)
-CFLAGS=         -O2 -fomit-frame-pointer -Wall -I./include -DDONT_USE_READLINE -DFIX_NO_READLINE
+CFLAGS?=         -O2 -fomit-frame-pointer -Wall -I./include -DDONT_USE_READLINE -DFIX_NO_READLINE
 #CFLAGS=         -g -fomit-frame-pointer -Wall -I./include -DDEBUG -DDONT_USE_READLINE
-LDFLAGS=        # -s -N
+LDFLAGS?=        # -s -N
 else
-CFLAGS=         -O2 -fomit-frame-pointer -Wall -I./include
+CFLAGS?=         -O2 -fomit-frame-pointer -Wall -I./include
 #CFLAGS=         -g -fomit-frame-pointer -Wall -I./include -DDEBUG
-LIBS=		-lreadline
-LDFLAGS=        # -s -N
+LIBS?=		-lreadline
+LDFLAGS?=        # -s -N
 endif
 
 # Where to put binaries?
