openssl/demos/encrypt/Makefile
Pauli 67bfdfa17b demo: Fix makefile target
The makefile target was incorrect and wouldn't build the rsa_encrypt demo.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20503)
2023-03-15 13:58:01 +11:00

21 lines
293 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: rsa_encrypt.o
test: ;
clean:
$(RM) *.o rsa_encrypt