2
0

Makefile 320 B

12345678910111213141516171819202122
  1. #
  2. # To run the demos when linked with a shared library (default):
  3. #
  4. # LD_LIBRARY_PATH=../.. ./hkdf
  5. CFLAGS = -I../../include -g
  6. LDFLAGS = -L../..
  7. LDLIBS = -lcrypto
  8. all: hkdf pbkdf2 scrypt
  9. %.o: %.c
  10. $(CC) $(CFLAGS) -c $<
  11. hkdf: hkdf.o
  12. pbkdf2: pbkdf2.o
  13. scrypt: scrypt.o
  14. test: ;
  15. clean:
  16. $(RM) *.o hkdf pbkdf2 scrypt