Making cdecl compile with readline.

svn path=/nixpkgs/trunk/; revision=14941
This commit is contained in:
Lluís Batlle i Rossell
2009-04-08 10:09:14 +00:00
parent 5ebbf90878
commit 8ddd79ca2e
3 changed files with 5 additions and 5 deletions

View File

@@ -7,10 +7,10 @@ index 9e85686..b8e6e02 100644
# add -DUSE_READLINE To compile in support for the GNU readline library.
-CFLAGS= -s -O2 -DUSE_READLINE
+
+CFLAGS=-DUSE_READLINE
CC= gcc
-LIBS= -lreadline -ltermcap
+
+LIBS= -lreadline -lncursesw
ALLFILES= makefile cdgram.y cdlex.l cdecl.c cdecl.1 testset testset++
-BINDIR= /usr/bin
-MANDIR= /usr/man/man1