diff options
Diffstat (limited to 'sw/Makefile.i2c')
-rwxr-xr-x | sw/Makefile.i2c | 11 |
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 $@ $^ |