From 2b81fda297ff8e4fdc360dfc71c39698c19ade49 Mon Sep 17 00:00:00 2001 From: notting Date: Thu, 22 Oct 1998 02:53:56 +0000 Subject: [PATCH] make *sure* we link against newt in current directory --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0b76245..c9a360e 100644 --- a/Makefile +++ b/Makefile @@ -52,16 +52,16 @@ testgrid: testgrid.o $(LIBNEWT) gcc -g -o testgrid testgrid.o $(LIBNEWT) $(LIBS) _snackmodule.so: snackmodule.o $(LIBNEWTSH) - gcc --shared -o _snackmodule.so snackmodule.o -L . $(LIBNEWTSH) + gcc --shared -o _snackmodule.so snackmodule.o -L . -l$(LIBNEWTSH) snackmodule.o: snackmodule.c gcc -I/usr/include/python1.5 -fPIC $(CFLAGS) -c snackmodule.c whiptail: $(NDIALOGOBJS) $(LIBNEWTSH) - gcc -g -o whiptail $(NDIALOGOBJS) -L . $(LIBNEWTSH) $(LIBS) -lpopt + gcc -g -o whiptail $(NDIALOGOBJS) -L . -l$(LIBNEWTSH) $(LIBS) -lpopt whiptcl.so: $(WHIPTCLOBJS) $(LIBNEWTSH) - gcc -shared -o whiptcl.so $(WHIPTCLOBJS) -L . $(LIBNEWTSH) -ltcl -lslang -lpopt -lm + gcc -shared -o whiptcl.so $(WHIPTCLOBJS) -L . -l$(LIBNEWTSH) -ltcl -lslang -lpopt -lm $(LIBNEWT): $(LIBNEWT)($(LIBOBJS)) -- 2.47.3