better link flags
[CleanReadLine.git] / Makefile
index 6dd1a70..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
 
@@ -8,4 +8,4 @@ all: test
        $(CLM) $(CLMFLAGS) $(basename $<) -o $@
 
 clean:
-       $(RM) -v test Clean\ System\ Files/test.*
+       $(RM) -v test Clean\ System\ Files/{ReadLine,test}.*