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