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

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-adder test-sha256 hash_tester