demos: add Makefile support for pbkdf2 and scrypt KDF demos
authorPauli <pauli@openssl.org>
Mon, 19 Jul 2021 03:00:38 +0000 (13:00 +1000)
committerPauli <pauli@openssl.org>
Tue, 20 Jul 2021 00:14:42 +0000 (10:14 +1000)
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/16109)

demos/kdf/Makefile

index b561de43b7b97ba8ef3c765e7ebf684c2a9536bd..0aa5113105045c2852350c7afb90fb4d600a5e94 100644 (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