2
0

Makefile 440 B

1234567891011121314151617181920212223
  1. #
  2. # To run the demos when linked with a shared library (default):
  3. #
  4. # LD_LIBRARY_PATH=../.. ./EVP_MD_demo
  5. CFLAGS = -I../../include -g -Wall
  6. LDFLAGS = -L../..
  7. LDLIBS = -lcrypto
  8. all: EVP_MD_demo EVP_MD_stdin EVP_MD_xof BIO_f_md
  9. %.o: %.c
  10. $(CC) $(CFLAGS) -c $<
  11. EVP_MD_demo: EVP_MD_demo.o
  12. EVP_MD_stdin: EVP_MD_stdin.o
  13. EVP_MD_xof: EVP_MD_xof.o
  14. BIO_f_md: BIO_f_md.o
  15. test: ;
  16. clean:
  17. $(RM) *.o EVP_MD_demo EVP_MD_stdin EVP_MD_xof BIO_f_md