git » unicorn-sparkle-basic.git » commit 5a11845

add -lhistory to make Ctrl-r work

author Alan Dipert
2024-01-09 20:14:55 UTC
committer Alan Dipert
2024-01-09 20:14:55 UTC
parent aa4278963f9d8f74aeb0772aaa44534e9c67ff9c

add -lhistory to make Ctrl-r work

Makefile +1 -1

diff --git a/Makefile b/Makefile
index f23b4ec..dd49b8c 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ YFLAGS=-d
 all: usbasic
 
 usbasic: lex.yy.o usbasic.tab.o parse.o main.o
-	$(CC) $(CFLAGS) -o usbasic lex.yy.o usbasic.tab.o parse.o main.o -lfl -lreadline
+	$(CC) $(CFLAGS) -o usbasic lex.yy.o usbasic.tab.o parse.o main.o -lfl -lreadline -lhistory
 
 parse.o: parse.c usbasic.tab.h parse.h
 	$(CC) $(CFLAGS) -c parse.c