summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/libsmbclient/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/libsmbclient/Makefile b/examples/libsmbclient/Makefile
index 4b4919ee7f..7e893fd488 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