]>
Commit | Line | Data |
---|---|---|
22fa1602 JM |
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 | ||
c18c301d AN |
7 | CFLAGS += -I../../include -g -Wall -Wsign-compare |
8 | LDFLAGS += -L../.. | |
22fa1602 | 9 | LDLIBS = -lcrypto -lssl -lnghttp3 |
e33af800 HL |
10 | |
11 | all: ossl-nghttp3-demo | |
12 | ||
86db9588 JM |
13 | ossl-nghttp3-demo: ossl-nghttp3-demo.o ossl-nghttp3.o |
14 | $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS) | |
15 | ||
e33af800 | 16 | clean: |
22fa1602 | 17 | $(RM) ossl-nghttp3-demo *.o |
e33af800 | 18 | |
86db9588 JM |
19 | .PHONY: test |
20 | test: all | |
21 | @echo "\nHTTP/3 tests:" | |
22 | @echo "skipped" |