diff options
author | Richard Sharpe <sharpe@samba.org> | 2001-05-17 02:29:00 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@samba.org> | 2001-05-17 02:29:00 +0000 |
commit | 49177b07c831bd463752e6489c29e9dc0e680301 (patch) | |
tree | 24b00b276588ec46bdbc4d05952d13eb754ea446 /examples/libsmbclient/Makefile | |
parent | 8c4d6548a91961ecc2a177f4f6f95fbea4035cd3 (diff) | |
download | samba-49177b07c831bd463752e6489c29e9dc0e680301.tar.gz samba-49177b07c831bd463752e6489c29e9dc0e680301.tar.bz2 samba-49177b07c831bd463752e6489c29e9dc0e680301.zip |
Adding an examples directory for libsmbclient to the head branch along with
a simple Makefile and a small README ...
(This used to be commit 950821d69cb6dcc723f8610584718c6217136d55)
Diffstat (limited to 'examples/libsmbclient/Makefile')
-rw-r--r-- | examples/libsmbclient/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/libsmbclient/Makefile b/examples/libsmbclient/Makefile new file mode 100644 index 0000000000..20bc99cac0 --- /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 |