Browse Source

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)
master
Pauli 3 months ago
parent
commit
9dbb4dac09
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      demos/kdf/Makefile

+ 4
- 2
demos/kdf/Makefile 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

Loading…
Cancel
Save