1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

Add a static linking target to the examples Makefile so I can test out static linking ...

(This used to be commit 9627bace72eb3be322f8895b055a31768e551136)
This commit is contained in:
Richard Sharpe 2001-06-30 04:01:51 +00:00
parent 064b4904f9
commit 89cf219717

View File

@ -12,9 +12,13 @@ testsmbc: testsmbc.o
@echo Linking testsmbc
@$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lsmbclient
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 *~
@rm -f *.o *~