diff options
author | Paul Selkirk <paul@psgd.org> | 2015-03-31 16:36:44 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2015-03-31 16:36:44 -0400 |
commit | 3252102d1c9c0e1fffce61391dab4d37f231655c (patch) | |
tree | 4acb6b55a46fab448c0d9ed1f4ad1270e11fb326 /eim/sw/Makefile | |
parent | c61362a96ef83600d2711f794549ab30540615fc (diff) |
Refactor common code into tc_[eim|i2c].[ch], add general-purpose hash utilities, add trng_tester_i2c.
Diffstat (limited to 'eim/sw/Makefile')
-rwxr-xr-x | eim/sw/Makefile | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/eim/sw/Makefile b/eim/sw/Makefile index 87cd78f..8e584fa 100755 --- a/eim/sw/Makefile +++ b/eim/sw/Makefile @@ -1,19 +1,26 @@ -all: hash_tester_eim trng_tester_eim +all: hash_tester_eim trng_tester_eim hash_eim .c.o: gcc -c -Wall -o $@ $< -hash_tester_eim: hash_tester_eim.o novena-eim.o +hash_tester_eim: hash_tester_eim.o novena-eim.o tc_eim.o gcc -o $@ $^ -hash_tester_eim.o: hash_tester_eim.c novena-eim.h +hash_tester_eim.o: hash_tester_eim.c tc_eim.h -trng_tester_eim: trng_tester_eim.o novena-eim.o +trng_tester_eim: trng_tester_eim.o novena-eim.o tc_eim.o gcc -o $@ $^ -trng_tester_eim.o: trng_tester_eim.c novena-eim.h +trng_tester_eim.o: trng_tester_eim.c tc_eim.h + +hash_eim: hash_eim.o novena-eim.o tc_eim.o + gcc -o $@ $^ + +hash_eim.o: hash_eim.c tc_eim.h novena-eim.o: novena-eim.c novena-eim.h +tc_eim.o: tc_eim.c tc_eim.h novena-eim.h + clean: - rm -f *.o hash_tester_eim trng_tester_eim + rm -f *.o hash_tester_eim trng_tester_eim hash_eim |