aboutsummaryrefslogtreecommitdiff
path: root/sw/test-sha256/Makefile
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2015-02-04 13:59:55 -0500
committerPaul Selkirk <paul@psgd.org>2015-02-04 13:59:55 -0500
commit1f8d768432dcc54331f569cf1c7e91645f336249 (patch)
tree03353a228a89e625a9c9c03bab8133643fd0dba7 /sw/test-sha256/Makefile
parent01669dcd3d341e43e1f1a03f837d3d5aac880009 (diff)
port hash_tester to this version of novena_eim
Diffstat (limited to 'sw/test-sha256/Makefile')
-rwxr-xr-xsw/test-sha256/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/sw/test-sha256/Makefile b/sw/test-sha256/Makefile
index c513ed0..ee8536e 100755
--- a/sw/test-sha256/Makefile
+++ b/sw/test-sha256/Makefile
@@ -1,11 +1,19 @@
-all: test-sha256
+all: test-sha256 hash_tester
+
+.c.o:
+ gcc -c -Wall -o $@ $<
test-sha256 : test-sha256.o novena-eim.o
gcc -o test-sha256 test-sha256.o novena-eim.o
-test-sha256.o: test-sha256.c novena-eim.h novena-eim.c
- gcc -c test-sha256.c
- gcc -c novena-eim.c
+test-sha256.o: test-sha256.c novena-eim.h
+
+hash_tester : hash_tester.o novena-eim.o
+ gcc -o hash_tester hash_tester.o novena-eim.o
+
+hash_tester.o: hash_tester.c novena-eim.h
+
+novena-eim.o: novena-eim.c novena-eim.h
clean:
- rm -f *.o test-sha256
+ rm -f *.o test-adder test-sha256 hash_tester