As the current icc can act as a gcc drop-in, I took over all compile flags from the standard makefile. The "-x?" options have been deprecated, so they're updated. The "-xP" has been removed, since it makes no sense in my eyes to define the optimization for a specific architecture in the makefile.
		
			
				
	
	
		
			21 lines
		
	
	
		
			471 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			471 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| CFLAGS += -I../src/headers -I./ 
 | |
| CC?=icc
 | |
| 
 | |
| OBJECTS = base64_test.o cipher_hash_test.o der_tests.o                                   \
 | |
| dsa_test.o ecc_test.o mac_test.o modes_test.o pkcs_1_test.o rsa_test.o                   \
 | |
| store_test.o test_driver.o x86_prof.o katja_test.o dh_test.o misc_test.o
 | |
| 
 | |
| ifndef LIBTEST_S
 | |
|    LIBTEST_S = libtomcrypt_prof.a
 | |
| endif
 | |
| 
 | |
| default: $(LIBTEST_S)
 | |
| 
 | |
| $(LIBTEST_S): $(OBJECTS)
 | |
| 	$(AR) $(ARFLAGS) $@ $(OBJECTS)
 | |
| 	ranlib $@
 | |
| 
 | |
| clean:
 | |
| 	rm -f *.o *.a
 | |
| 
 |