xref: /freebsd/crypto/openssl/demos/digest/Makefile (revision a90b9d0159070121c221b966469c3e36d912bf82)
1#
2# To run the demos when linked with a shared library (default):
3#
4#    LD_LIBRARY_PATH=../.. ./EVP_MD_demo
5
6CFLAGS = -I../../include -g -Wall
7LDFLAGS = -L../..
8LDLIBS = -lcrypto
9
10all: EVP_MD_demo EVP_MD_stdin EVP_MD_xof BIO_f_md
11
12%.o: %.c
13	$(CC) $(CFLAGS) -c $<
14
15EVP_MD_demo: EVP_MD_demo.o
16EVP_MD_stdin: EVP_MD_stdin.o
17EVP_MD_xof: EVP_MD_xof.o
18BIO_f_md: BIO_f_md.o
19
20test: ;
21
22clean:
23	$(RM) *.o EVP_MD_demo EVP_MD_stdin EVP_MD_xof BIO_f_md
24