1*e0c4386eSCy Schubert# 2*e0c4386eSCy Schubert# To run the demos when linked with a shared library (default): 3*e0c4386eSCy Schubert# 4*e0c4386eSCy Schubert# LD_LIBRARY_PATH=../.. ./EVP_MD_demo 5*e0c4386eSCy Schubert 6*e0c4386eSCy SchubertCFLAGS = -I../../include -g -Wall 7*e0c4386eSCy SchubertLDFLAGS = -L../.. 8*e0c4386eSCy SchubertLDLIBS = -lcrypto 9*e0c4386eSCy Schubert 10*e0c4386eSCy Schubertall: EVP_MD_demo EVP_MD_stdin EVP_MD_xof BIO_f_md 11*e0c4386eSCy Schubert 12*e0c4386eSCy Schubert%.o: %.c 13*e0c4386eSCy Schubert $(CC) $(CFLAGS) -c $< 14*e0c4386eSCy Schubert 15*e0c4386eSCy SchubertEVP_MD_demo: EVP_MD_demo.o 16*e0c4386eSCy SchubertEVP_MD_stdin: EVP_MD_stdin.o 17*e0c4386eSCy SchubertEVP_MD_xof: EVP_MD_xof.o 18*e0c4386eSCy SchubertBIO_f_md: BIO_f_md.o 19*e0c4386eSCy Schubert 20*e0c4386eSCy Schuberttest: ; 21*e0c4386eSCy Schubert 22*e0c4386eSCy Schubertclean: 23*e0c4386eSCy Schubert $(RM) *.o EVP_MD_demo EVP_MD_stdin EVP_MD_xof BIO_f_md 24