1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00
Richard Sharpe b45c92f31e Fix some problems with tree.c reported by users.
(This used to be commit b0772a1a0531896d5b343863434622d4d0ff437f)
2002-11-15 22:51:03 +00:00

26 lines
500 B
Makefile

#
CC = gcc
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 -L/usr/local/lib
testsmbc-static: testsmbc.o
@echo Linking testsmbc
@$(CC) $(CFLAGS) -static $(LDFLAGS) -o $@ $< -lsmbclient -ldl -lnsl
tree: tree.o
@echo Linking tree
@$(CC) `gtk-config --cflags` $(CFLAGS) $(LDFLAGS) -o $@ `gtk-config --libs` -lsmbclient $<
clean:
@rm -f *.o *~