mirror of
https://github.com/openssl/openssl.git
synced 2025-03-07 19:38:33 +08:00
This blocking client is intended to be used to explain how to implement a simple client in the documentation. Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21133)
17 lines
329 B
Makefile
17 lines
329 B
Makefile
#
|
|
# To run the demos when linked with a shared library (default):
|
|
#
|
|
# LD_LIBRARY_PATH=../.. ./tls-client-block
|
|
|
|
CFLAGS = -I../../include -g
|
|
LDFLAGS = -L../..
|
|
LDLIBS = -lcrypto -lssl
|
|
|
|
all: tls-client-block
|
|
|
|
tls-client-block: tls-client-block.c
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDLIBS)
|
|
|
|
clean:
|
|
$(RM) *.o tls-client-block
|