openssl/demos/encrypt/Makefile
Shane Lontis 35530b117f Add RSA encrypt demo
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16283)
2021-11-16 15:58:23 +00:00

21 lines
296 B
Makefile

#
# To run the demos when linked with a shared library (default):
#
# LD_LIBRARY_PATH=../.. ./rsa_encrypt
CFLAGS = -I../../include -g
LDFLAGS = -L../..
LDLIBS = -lcrypto
all: rsa_encrypt
%.o: %.c
$(CC) $(CFLAGS) -c $<
rsa_encrypt_ec: rsa_encrypt.o
test: ;
clean:
$(RM) *.o rsa_encrypt