mirror of
https://github.com/samba-team/samba.git
synced 2025-01-07 17:18:11 +03:00
49177b07c8
a simple Makefile and a small README ...
(This used to be commit 950821d69c
)
20 lines
350 B
Makefile
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 *~
|