summaryrefslogtreecommitdiffstats
path: root/examples/libsmbclient/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/libsmbclient/Makefile')
-rw-r--r--examples/libsmbclient/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/libsmbclient/Makefile b/examples/libsmbclient/Makefile
index 4b4919ee7ff..7e893fd4889 100644
--- a/examples/libsmbclient/Makefile
+++ b/examples/libsmbclient/Makefile
@@ -17,7 +17,8 @@ TESTS= testsmbc \
testbrowse \
teststat \
testchmod \
- testutime
+ testutime \
+ testread
all: $(TESTS) smbsh
@@ -49,6 +50,10 @@ testutime: testutime.o
@echo Linking testutime
@$(CC) $(CFLAGS) $(LDFLAGS) -o $@ /usr/local/samba/lib/libsmbclient.so -lpopt $<
+testread: testread.o
+ @echo Linking testread
+ @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ /usr/local/samba/lib/libsmbclient.so -lpopt $<
+
smbsh:
make -C smbwrapper