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