2
0

Makefile 446 B

12345678910111213141516171819202122232425
  1. #
  2. # To run the demos 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=../.. ./sslecho
  6. TESTS = sslecho
  7. CFLAGS = -I../../include -g -Wall
  8. LDFLAGS = -L../..
  9. LDLIBS = -lssl -lcrypto
  10. all: $(TESTS)
  11. sslecho: main.o
  12. $(TESTS):
  13. $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDLIBS)
  14. clean:
  15. $(RM) $(TESTS) *.o
  16. test: all
  17. @echo "\nSSL Echo tests:"
  18. @echo "skipped"