Makefile 559 B

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