Adding an examples directory for libsmbclient to the head branch along with
[bbaumbach/samba-autobuild/.git] / examples / libsmbclient / Makefile
1 #
2
3 SAMBA_INCL = ../../source/include
4
5 CFLAGS = -I$(SAMBA_INCL)
6
7 LDFLAGS = -L/usr/lib
8
9 all: testsmbc tree
10
11 testsmbc: testsmbc.o 
12         @echo Linking testsmbc
13         @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lsmbclient
14
15 tree: tree.o
16         @echo Linking tree
17         @$(CC) `gtk-config --cflags` $(CFLAGS) $(LDFLAGS) -o $@ `gtk-config --libs` -lsmbclient $<
18
19 clean:
20         @rm -f *.o *~