Makefile 750 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. ################################################################################
  2. #
  3. # Copyright (C) 2017 by Intel Corporation, All Rights Reserved.
  4. #
  5. # Cryptographic Primitives Makefile.
  6. #
  7. ################################################################################
  8. include ../config.mk
  9. # Edit the OBJS content to add/remove primitives needed from TinyCrypt library:
  10. OBJS:=aes_decrypt.o \
  11. aes_encrypt.o \
  12. cbc_mode.o \
  13. ctr_mode.o \
  14. ctr_prng.o \
  15. hmac.o \
  16. hmac_prng.o \
  17. sha256.o \
  18. ecc.o \
  19. ecc_dh.o \
  20. ecc_dsa.o \
  21. ccm_mode.o \
  22. cmac_mode.o \
  23. utils.o
  24. DEPS:=$(OBJS:.o=.d)
  25. all: libtinycrypt.a
  26. libtinycrypt.a: $(OBJS)
  27. $(AR) $(ARFLAGS) $@ $^
  28. .PHONY: clean
  29. clean:
  30. -$(RM) *.exe $(OBJS) $(DEPS) *~ libtinycrypt.a
  31. -include $(DEPS)