aboutsummaryrefslogblamecommitdiff
path: root/i2c/sw/Makefile
blob: 02e7e7dcfae06c5ad9238e5ca3597f9896a47d0e (plain) (tree)
1
2
                                             
 


















                                             

      
                                                          
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