Build the test program when needed.

This commit is contained in:
Ben Laurie 2003-08-30 13:19:03 +00:00
parent e0162fa745
commit aac3861773

View file

@ -70,7 +70,7 @@ tests:
fips_aesavs: fips_aesavs.o ../../libcrypto.a fips_aesavs: fips_aesavs.o ../../libcrypto.a
$(CC) $(CFLAGS) -o fips_aesavs fips_aesavs.o ../../libcrypto.a $(CC) $(CFLAGS) -o fips_aesavs fips_aesavs.o ../../libcrypto.a
fips_test: top fips_test: top fips_aesavs
find ../testvectors/aes/req -name '*.req' > testlist find ../testvectors/aes/req -name '*.req' > testlist
-rm -rf ../testvectors/aes/rsp -rm -rf ../testvectors/aes/rsp
mkdir ../testvectors/aes/rsp mkdir ../testvectors/aes/rsp