diff options
Diffstat (limited to 'examples/libsmbclient/Makefile')
-rw-r--r-- | examples/libsmbclient/Makefile | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/examples/libsmbclient/Makefile b/examples/libsmbclient/Makefile index fcd5ef29003..8c1def8a162 100644 --- a/examples/libsmbclient/Makefile +++ b/examples/libsmbclient/Makefile @@ -2,19 +2,16 @@ CC = gcc SAMBA_INCL = ../../source/include -EXTLIB_INCL = -I/usr/include/gtk-1.2 \ - -I/usr/include/glib-1.2 \ - -I/usr/lib/glib/include -CFLAGS = -I$(SAMBA_INCL) $(EXTLIB_INCL) +CFLAGS = -I$(SAMBA_INCL) LDFLAGS = -L/usr/lib -all: testsmbc tree testacl testbrowse +all: testsmbc tree testsmbc: testsmbc.o @echo Linking testsmbc - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lsmbclient -L/usr/local/lib + @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lsmbclient testsmbc-static: testsmbc.o @echo Linking testsmbc @@ -24,13 +21,5 @@ tree: tree.o @echo Linking tree @$(CC) `gtk-config --cflags` $(CFLAGS) $(LDFLAGS) -o $@ `gtk-config --libs` -lsmbclient $< -testacl: testacl.o - @echo Linking testacl - @$(CC) `gtk-config --cflags` $(CFLAGS) $(LDFLAGS) -o $@ `gtk-config --libs` -lsmbclient -lpopt $< - -testbrowse: testbrowse.o - @echo Linking testbrowse - @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ -lsmbclient -lpopt $< - clean: @rm -f *.o *~ |