Makefile 541 B

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