aboutsummaryrefslogtreecommitdiff
path: root/i2c/sw/Makefile
blob: 9869e0499d2c853ad4485865b17bda9c0f59d487 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
all: hash_tester_i2c trng_tester_i2c hash_i2c trng_extractor_i2c

.c.o:
	gcc -c -Wall -o $@ $<

hash_tester_i2c: hash_tester_i2c.o tc_i2c.o
	gcc -o $@ $^

hash_tester_i2c.o: hash_tester_i2c.c tc_i2c.h

trng_tester_i2c: trng_tester_i2c.o tc_i2c.o
	gcc -o $@ $^

trng_tester_i2c.o: trng_tester_i2c.c tc_i2c.h

hash_i2c: hash_i2c.o tc_i2c.o
	gcc -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 trng_extractor_i2c