makefile.shared 485 B

12345678910111213141516171819
  1. # make test harness, it is good.
  2. CFLAGS += -Wall -W -Os -I../../src/headers/ -I./
  3. # if you're not debugging
  4. CFLAGS += -fomit-frame-pointer
  5. default: test
  6. #if you don't have mpi.o
  7. #MPISHARED=-ltommath
  8. OBJECTS=test.o cipher_hash_test.o mac_test.o modes_test.o \
  9. pkcs_1_test.o store_test.o rsa_test.o ecc_test.o dsa_test.o dh_tests.o der_tests.o
  10. test: $(OBJECTS)
  11. libtool --mode=link gcc $(CFLAGS) $(OBJECTS) -o test -ltomcrypt $(MPISHARED)
  12. clean:
  13. rm -f test *.o *.obj *.exe *~