=== modified file 'Makefile' --- Makefile 2011-09-23 22:50:13 +0000 +++ Makefile 2011-09-06 22:02:57 +0000 @@ -1,7 +1,6 @@ LIBTOOL=libtool CFLAGS?= -LDFLAGS=-lcurses CFLAGS_DEBUG= @@ -31,7 +30,7 @@ $(LIBTOOL) --mode=compile --tag=CC gcc $(CFLAGS) $(CFLAGS_DEBUG) -Wall -std=c99 -o $@ -c $< $(LIBRARY): $(OBJECTS) - $(LIBTOOL) --mode=link --tag=CC gcc -rpath $(LIBDIR) -version-info $(VERSION_CURRENT):$(VERSION_REVISION):$(VERSION_AGE) $(LDFLAGS) -o $@ $^ + $(LIBTOOL) --mode=link --tag=CC gcc -rpath $(LIBDIR) -version-info $(VERSION_CURRENT):$(VERSION_REVISION):$(VERSION_AGE) -lcurses -o $@ $^ demo: $(LIBRARY) demo.lo $(LIBTOOL) --mode=link --tag=CC gcc -o $@ $^