1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
samba-mirror/examples/libsmbclient/Makefile
Richard Sharpe 49177b07c8 Adding an examples directory for libsmbclient to the head branch along with
a simple Makefile and a small README ...
(This used to be commit 950821d69c)
2001-05-17 02:29:00 +00:00

20 lines
350 B
Makefile

#
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 *~