xref: /openssl/demos/http3/Makefile (revision c18c301d)
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
7CFLAGS  += -I../../include -g -Wall -Wsign-compare
8LDFLAGS += -L../..
9LDLIBS  = -lcrypto -lssl -lnghttp3
10
11all: ossl-nghttp3-demo
12
13ossl-nghttp3-demo: ossl-nghttp3-demo.o ossl-nghttp3.o
14	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)
15
16clean:
17	$(RM) ossl-nghttp3-demo *.o
18
19.PHONY: test
20test: all
21	@echo "\nHTTP/3 tests:"
22	@echo "skipped"
23