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 7TESTS = sslecho 8 9CFLAGS = -I../../include -g -Wall 10LDFLAGS = -L../.. 11LDLIBS = -lssl -lcrypto 12 13all: $(TESTS) 14 15sslecho: main.o 16 17$(TESTS): 18 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDLIBS) 19 20clean: 21 $(RM) $(TESTS) *.o 22 23test: all 24 @echo "\nSSL Echo tests:" 25 @echo "skipped" 26