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