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_EC_Signature_demo EVP_DSA_Signature_demo rsa_pss_direct rsa_pss_hash
|
---|
11 |
|
---|
12 | %.o: %.c
|
---|
13 | $(CC) $(CFLAGS) -c $<
|
---|
14 |
|
---|
15 | EVP_EC_Signature_demo: EVP_EC_Signature_demo.o
|
---|
16 | EVP_DSA_Signature_demo: EVP_DSA_Signature_demo.o
|
---|
17 | rsa_pss_direct: rsa_pss_direct.o
|
---|
18 | rsa_pss_hash: rsa_pss_hash.o
|
---|
19 |
|
---|
20 | test: ;
|
---|
21 |
|
---|
22 | clean:
|
---|
23 | $(RM) *.o EVP_EC_Signature_demo EVP_DSA_Signature_demo rsa_pss_direct rsa_pss_hash
|
---|