better link flags
authorMart Lubbers <mart@martlubbers.net>
Mon, 25 Jan 2016 13:10:58 +0000 (14:10 +0100)
committerMart Lubbers <mart@martlubbers.net>
Mon, 25 Jan 2016 13:10:58 +0000 (14:10 +0100)
Makefile
README.md

index ae01361..46b3d7b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 SHELL:=/bin/bash
 CLM=clm
-CLMFLAGS=-nt -l /usr/lib/libreadline.so
+CLMFLAGS=-nt -l -lreadline
 
 all: test
 
index f02d3f9..1f12c6e 100644 (file)
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ make
 ```
 
 When you want to use the library in your program you should compile with the
-`-l /usr/lib/libreadline.so` linker flag
+`-l -lreadline` linker flag
 
 All functions try to resemble the original
 [readline](http://cnswww.cns.cwru.edu/php/chet/readline/readline.html) and