aboutsummaryrefslogtreecommitdiff
path: root/i2c/sw/Makefile
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2015-04-02 15:07:22 -0400
committerPaul Selkirk <paul@psgd.org>2015-04-02 15:07:22 -0400
commitb1ebb2a975de7f29e63c3a4046de15c26b44dceb (patch)
tree20c6e29fa7f51953a83629146bcf61ad556092ab /i2c/sw/Makefile
parentaea9e93e560b1468bf0ff2cf5b61e5409ce60dc5 (diff)
Add trng_extractor app to eim and i2c, refactor i2c apps to use common memory map.
Diffstat (limited to 'i2c/sw/Makefile')
-rwxr-xr-xi2c/sw/Makefile9
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