all: crc

crc: crc.c modbus.h
	gcc -lm crc.c -o crc

install: crc
	cp crc /usr/local/bin

clean:
	rm -rf crc

update: crc
	cp crc /usr/local/bin
