1 1.1 christos # 2 1.1 christos # To run the demos when linked with a shared library (default) ensure that 3 1.1 christos # libcrypto and libssl are on the library path. For example: 4 1.1 christos # 5 1.1 christos # LD_LIBRARY_PATH=../.. ./sslecho 6 1.1 christos 7 1.1 christos TESTS = sslecho 8 1.1 christos 9 1.1 christos CFLAGS = -I../../include -g -Wall 10 1.1 christos LDFLAGS = -L../.. 11 1.1 christos LDLIBS = -lssl -lcrypto 12 1.1 christos 13 1.1 christos all: $(TESTS) 14 1.1 christos 15 1.1 christos sslecho: main.o 16 1.1 christos 17 1.1 christos $(TESTS): 18 1.1 christos $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDLIBS) 19 1.1 christos 20 1.1 christos clean: 21 1.1 christos $(RM) $(TESTS) *.o 22 1.1 christos 23 1.1 christos test: all 24 1.1 christos @echo "\nSSL Echo tests:" 25 1.1 christos @echo "skipped" 26