view libtomcrypt/testprof/makefile.icc @ 1299:24e563b90f12

Support out-of-tree builds usign bundled libtom When building out-of-tree we need both source and generated folders in include paths to find both distributed and generated headers.
author Henrik Nordström <henrik@knc.nu>
date Wed, 11 May 2016 12:35:06 +0200
parents 0cbe8f6dbf9e
children
line wrap: on
line source

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

ifndef LIBTEST_S
   LIBTEST_S = libtomcrypt_prof.a
endif

default: $(LIBTEST_S)

$(LIBTEST_S): $(OBJECTS)
	$(AR) $(ARFLAGS) $@ $(OBJECTS)
	ranlib $@

clean:
	rm -f *.o *.a