demos: add Makefile support for pbkdf2 and scrypt KDF demos

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/16109)
This commit is contained in:
Pauli 2021-07-19 13:00:38 +10:00
parent 73a3b967e9
commit 9dbb4dac09

View File

@ -7,14 +7,16 @@ CFLAGS = -I../../include -g
LDFLAGS = -L../..
LDLIBS = -lcrypto
all: hkdf
all: hkdf pbkdf2 scrypt
%.o: %.c
$(CC) $(CFLAGS) -c $<
hkdf: hkdf.o
pbkdf2: pbkdf2.o
scrypt: scrypt.o
test: ;
clean:
$(RM) *.o hkdf
$(RM) *.o hkdf pbkdf2 scrypt