aboutsummaryrefslogtreecommitdiff
path: root/i2c/sw/Makefile
blob: 02e7e7dcfae06c5ad9238e5ca3597f9896a47d0e (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
all: hash_tester_i2c trng_tester_i2c hash_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

tc_i2c.o: tc_i2c.c tc_i2c.h

clean:
	rm -f *.o hash_tester_i2c trng_tester_i2c hash_i2c