xref: /freebsd/crypto/openssl/demos/kdf/Makefile (revision b59017c5cad90d0f09a59e68c00457b7faf93e7c)
1#
2# To run the demos when linked with a shared library (default):
3#
4#    LD_LIBRARY_PATH=../.. ./hkdf
5
6CFLAGS = -I../../include -g
7LDFLAGS = -L../..
8LDLIBS = -lcrypto
9
10all: hkdf pbkdf2 scrypt
11
12%.o: %.c
13	$(CC) $(CFLAGS) -c $<
14
15hkdf: hkdf.o
16pbkdf2: pbkdf2.o
17scrypt: scrypt.o
18
19test: ;
20
21clean:
22	$(RM) *.o hkdf pbkdf2 scrypt
23