From: ewt Date: Wed, 24 Sep 1997 02:28:05 +0000 (+0000) Subject: user separate popt library X-Git-Tag: r0-12~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3d23b9d48219de40eb2b28ce87c697fda14a2a88;p=thirdparty%2Fnewt.git user separate popt library --- diff --git a/Makefile b/Makefile index d8469e2..6d60de6 100644 --- a/Makefile +++ b/Makefile @@ -11,8 +11,8 @@ SONAME = 0.11 PROGS = test whiptail whiptcl.so testgrid TESTOBJS = test.o -NDIALOGOBJS = whiptail.o dialogboxes.o popt.o -WHIPTCLOBJS = whiptcl.o dialogboxes.o popt.o +NDIALOGOBJS = whiptail.o dialogboxes.o +WHIPTCLOBJS = whiptcl.o dialogboxes.o LIBNEWT = libnewt.a LIBNEWTSH = libnewt.so.$(VERSION) LIBNEWTSONAME = libnewt.so.$(SONAME) @@ -48,10 +48,10 @@ testgrid: testgrid.o $(LIBNEWT) gcc -g -o testgrid testgrid.o $(LIBNEWT) $(LIBS) whiptail: $(NDIALOGOBJS) $(LIBNEWTSH) - gcc -g -o whiptail $(NDIALOGOBJS) $(LIBNEWTSH) $(LIBS) + gcc -g -o whiptail $(NDIALOGOBJS) $(LIBNEWTSH) $(LIBS) -lpopt whiptcl.so: $(WHIPTCLOBJS) $(LIBNEWTSH) - gcc -shared -o whiptcl.so $(WHIPTCLOBJS) $(LIBNEWTSH) -ltcl -lslang -lm + gcc -shared -o whiptcl.so $(WHIPTCLOBJS) $(LIBNEWTSH) -ltcl -lslang -lpopt -lm $(LIBNEWT): $(LIBNEWT)($(LIBOBJS))