2023-06-02 23:31:30 +08:00
|
|
|
#
|
2023-06-08 23:36:17 +08:00
|
|
|
# To run the demos when linked with a shared library (default) ensure that
|
|
|
|
# libcrypto and libssl are on the library path. For example to run the
|
|
|
|
# tls-client-block demo:
|
2023-06-02 23:31:30 +08:00
|
|
|
#
|
|
|
|
# LD_LIBRARY_PATH=../.. ./tls-client-block
|
|
|
|
|
|
|
|
CFLAGS = -I../../include -g
|
|
|
|
LDFLAGS = -L../..
|
|
|
|
LDLIBS = -lcrypto -lssl
|
|
|
|
|
2023-06-08 23:36:17 +08:00
|
|
|
all: tls-client-block quic-client-block
|
2023-06-02 23:31:30 +08:00
|
|
|
|
|
|
|
tls-client-block: tls-client-block.c
|
|
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDLIBS)
|
|
|
|
|
2023-06-08 23:36:17 +08:00
|
|
|
quic-client-block: quic-client-block.c
|
|
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDLIBS)
|
|
|
|
|
2023-06-02 23:31:30 +08:00
|
|
|
clean:
|
2023-06-08 23:36:17 +08:00
|
|
|
$(RM) *.o tls-client-block quic-client-block
|