1 | #
|
---|
2 | # To run the demo when linked with a shared library (default) ensure that
|
---|
3 | # libcrypto and libssl are on the library path. For example:
|
---|
4 | #
|
---|
5 | # LD_LIBRARY_PATH=../.. ./ossl-nghttp3-demo www.example.com:443
|
---|
6 |
|
---|
7 | CFLAGS += -I../../include -g -Wall -Wsign-compare
|
---|
8 | LDFLAGS += -L../..
|
---|
9 | LDLIBS = -lcrypto -lssl -lnghttp3
|
---|
10 |
|
---|
11 | all: ossl-nghttp3-demo
|
---|
12 |
|
---|
13 | ossl-nghttp3-demo: ossl-nghttp3-demo.o ossl-nghttp3.o
|
---|
14 | $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
---|
15 |
|
---|
16 | clean:
|
---|
17 | $(RM) ossl-nghttp3-demo *.o
|
---|
18 |
|
---|
19 | .PHONY: test
|
---|
20 | test: all
|
---|
21 | @echo "\nHTTP/3 tests:"
|
---|
22 | @echo "skipped"
|
---|