--- src/Makefile.orig	2017-09-27 14:56:56.000000000 -0500
+++ src/Makefile	2021-04-13 16:12:49.000000000 -0500
@@ -3,7 +3,7 @@
 ifeq ($(FLEX),osx)
 LIBFLEX=-ll
 endif
-CFLAGS=-ggdb -Wall -std=gnu99
+CFLAGS+=-ggdb -Wall -std=gnu99
 #CFLAGS=-ggdb
 LIBS=-lreadline -lm $(LIBFLEX)
 SRC=src
@@ -23,7 +23,7 @@
 	@echo "done."
 
 $(TARGET): $(GRAM) $(OBJECTS)
-	$(CC) $(OBJECTS) $(GRAM) $(LIBS) -o $(TARGET)
+	$(CC) $(LDFLAGS) $(OBJECTS) $(GRAM) $(LIBS) -o $(TARGET)
 	
 %.o : %.c
 	$(CC) $(CFLAGS) -c $<
