Makefile 726 B

12345678910111213141516171819202122232425262728293031323334353637
  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=../.. ./server-arg
  6. TESTS = client-arg \
  7. client-conf \
  8. saccept \
  9. sconnect \
  10. server-arg \
  11. server-cmod \
  12. server-conf
  13. CFLAGS = -I../../include -g -Wall
  14. LDFLAGS = -L../..
  15. LDLIBS = -lssl -lcrypto
  16. all: $(TESTS)
  17. client-arg: client-arg.o
  18. client-conf: client-conf.o
  19. saccept: saccept.o
  20. sconnect: sconnect.o
  21. server-arg: server-arg.o
  22. server-cmod: server-cmod.o
  23. server-conf: server-conf.o
  24. $(TESTS):
  25. $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDLIBS)
  26. clean:
  27. $(RM) $(TESTS) *.o
  28. test: all
  29. @echo "\nBIO tests:"
  30. @echo "skipped"