From 1f8d768432dcc54331f569cf1c7e91645f336249 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Wed, 4 Feb 2015 13:59:55 -0500 Subject: port hash_tester to this version of novena_eim --- sw/test-sha256/Makefile | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'sw/test-sha256/Makefile') 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 -- cgit v1.2.3