From: notting Date: Thu, 22 Oct 1998 02:53:56 +0000 (+0000) Subject: make *sure* we link against newt in current directory X-Git-Tag: r0-40~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b81fda297ff8e4fdc360dfc71c39698c19ade49;p=thirdparty%2Fnewt.git make *sure* we link against newt in current directory --- 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))