diff options
Diffstat (limited to 'i2c/sw/Makefile')
-rwxr-xr-x | i2c/sw/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/i2c/sw/Makefile b/i2c/sw/Makefile index 02e7e7d..9869e04 100755 --- a/i2c/sw/Makefile +++ b/i2c/sw/Makefile @@ -1,4 +1,4 @@ -all: hash_tester_i2c trng_tester_i2c hash_i2c +all: hash_tester_i2c trng_tester_i2c hash_i2c trng_extractor_i2c .c.o: gcc -c -Wall -o $@ $< @@ -18,7 +18,12 @@ hash_i2c: hash_i2c.o tc_i2c.o hash_i2c.o: hash_i2c.c tc_i2c.h +trng_extractor_i2c: trng_extractor_i2c.o tc_i2c.o + gcc -o $@ $^ + +trng_extractor_i2c.o: trng_extractor_i2c.c tc_i2c.h + tc_i2c.o: tc_i2c.c tc_i2c.h clean: - rm -f *.o hash_tester_i2c trng_tester_i2c hash_i2c + rm -f *.o hash_tester_i2c trng_tester_i2c hash_i2c trng_extractor_i2c |