2023-10-30 03:24:08 +08:00
|
|
|
#
|
|
|
|
# To run the demo when linked with a shared library (default) ensure that
|
|
|
|
# libcrypto and libssl are on the library path. For example:
|
|
|
|
#
|
|
|
|
# LD_LIBRARY_PATH=../.. ./ossl-nghttp3-demo www.example.com:443
|
|
|
|
|
|
|
|
CFLAGS = -I../../include -g -Wall -Wsign-compare
|
2023-10-16 20:33:11 +08:00
|
|
|
LDFLAGS = -L../..
|
2023-10-30 03:24:08 +08:00
|
|
|
LDLIBS = -lcrypto -lssl -lnghttp3
|
2023-10-16 20:33:11 +08:00
|
|
|
|
|
|
|
all: ossl-nghttp3-demo
|
|
|
|
|
2023-11-11 03:02:00 +08:00
|
|
|
ossl-nghttp3-demo: ossl-nghttp3-demo.o ossl-nghttp3.o
|
|
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
|
|
|
|
2023-10-16 20:33:11 +08:00
|
|
|
clean:
|
2023-10-30 03:24:08 +08:00
|
|
|
$(RM) ossl-nghttp3-demo *.o
|
2023-10-16 20:33:11 +08:00
|
|
|
|
2023-11-11 03:02:00 +08:00
|
|
|
.PHONY: test
|
|
|
|
test: all
|
|
|
|
@echo "\nHTTP/3 tests:"
|
|
|
|
@echo "skipped"
|