all:	otherm_i2c_read otherm_i2c_write otherm_i2c

otherm_i2c:	otherm_i2c.c otherm_i2c_message.h pec.h
		cc -O -Wall otherm_i2c.c -o otherm_i2c

otherm_i2c_read:	otherm_i2c_read.c otherm_i2c_message.h pec.h
		cc -O -Wall otherm_i2c_read.c -o otherm_i2c_read


otherm_i2c_write:	otherm_i2c_write.c
		cc -O -Wall otherm_i2c_write.c -o otherm_i2c_write

clean:
	rm -f *~
	rm -f *.o
	rm -f *.map *.out otherm_i2c_read otherm_i2c_write otherm_i2c  *.bak
	
