makefile 503 B

123456789101112131415161718192021222324
  1. CFLAGS += -I../src/headers -I./ -Wall -W
  2. # ranlib tools
  3. ifndef RANLIB
  4. RANLIB=ranlib
  5. endif
  6. OBJECTS = base64_test.o cipher_hash_test.o der_tests.o \
  7. dsa_test.o ecc_test.o mac_test.o modes_test.o pkcs_1_test.o rsa_test.o \
  8. store_test.o test_driver.o x86_prof.o katja_test.o
  9. ifndef LIBTEST_S
  10. LIBTEST_S=libtomcrypt_prof.a
  11. endif
  12. default: $(LIBTEST_S)
  13. $(LIBTEST_S): $(OBJECTS)
  14. $(AR) $(ARFLAGS) $@ $(OBJECTS)
  15. $(RANLIB) $@
  16. clean:
  17. rm -f *.o *.a