From 950821d69cb6dcc723f8610584718c6217136d55 Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Thu, 17 May 2001 02:29:00 +0000 Subject: Adding an examples directory for libsmbclient to the head branch along with a simple Makefile and a small README ... --- examples/libsmbclient/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 examples/libsmbclient/Makefile (limited to 'examples/libsmbclient/Makefile') diff --git a/examples/libsmbclient/Makefile b/examples/libsmbclient/Makefile new file mode 100644 index 00000000000..20bc99cac08 --- /dev/null +++ b/examples/libsmbclient/Makefile @@ -0,0 +1,20 @@ +# + +SAMBA_INCL = ../../source/include + +CFLAGS = -I$(SAMBA_INCL) + +LDFLAGS = -L/usr/lib + +all: testsmbc tree + +testsmbc: testsmbc.o + @echo Linking testsmbc + @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lsmbclient + +tree: tree.o + @echo Linking tree + @$(CC) `gtk-config --cflags` $(CFLAGS) $(LDFLAGS) -o $@ `gtk-config --libs` -lsmbclient $< + +clean: + @rm -f *.o *~ \ No newline at end of file -- cgit