aboutsummaryrefslogtreecommitdiff
path: root/sw/Makefile.i2c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-09-23 16:21:34 -0400
committerRob Austein <sra@hactrn.net>2015-09-23 16:21:34 -0400
commit99c3749c85b85b4865c4baafdd16b2cbb3ac52f2 (patch)
tree99a2ecef007a8a5c6c77644758f2017549243529 /sw/Makefile.i2c
parentf141a79d805acbab07876d9f007e8809603718b5 (diff)
parent5f1de63e3bc6043ee10683a2c9fd8a7c03a3983a (diff)
Merge branch 'modexps6' into config_core_selector_sra
Diffstat (limited to 'sw/Makefile.i2c')
-rwxr-xr-xsw/Makefile.i2c11
1 files changed, 9 insertions, 2 deletions
diff --git a/sw/Makefile.i2c b/sw/Makefile.i2c
index 1294360..5c69069 100755
--- a/sw/Makefile.i2c
+++ b/sw/Makefile.i2c
@@ -1,8 +1,9 @@
CC = gcc
+AR = AR
CFLAGS = -Wall -fPIC
LIB = libcryptech_i2c.a
-BIN = hash_i2c hash_tester_i2c trng_extractor_i2c trng_tester_i2c
+BIN = hash_i2c hash_tester_i2c trng_extractor_i2c trng_tester_i2c aes_tester_i2c modexp_tester_i2c
INC = cryptech.h
PREFIX = /usr/local
@@ -16,7 +17,7 @@ all: $(LIB) $(BIN)
$(CC) $(CFLAGS) -c -o $@ $<
libcryptech_i2c.a: tc_i2c.o capability.o
- ar rcs $@ $^
+ $(AR) rcs $@ $^
hash_tester_i2c: hash_tester.o $(LIB)
$(CC) -o $@ $^
@@ -24,6 +25,12 @@ hash_tester_i2c: hash_tester.o $(LIB)
trng_tester_i2c: trng_tester.o $(LIB)
$(CC) -o $@ $^
+aes_tester_i2c: aes_tester.o $(LIB)
+ $(CC) -o $@ $^
+
+modexp_tester_i2c: modexp_tester.o $(LIB)
+ $(CC) -o $@ $^
+
hash_i2c: hash.o $(LIB)
$(CC) -o $@ $^