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