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