summaryrefslogtreecommitdiffstats
path: root/examples/libsmbclient/Makefile
blob: 20bc99cac08a9570277b6cc7a4ca730148c2fcd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#

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