Makefile (237B)
1 default: build 2 3 build: clean 4 @if [ ! -f sensors.h ]; then cp sensors.def.h sensors.h; fi 5 gcc -Wall -o sds sds.c -l curl 6 7 install: build 8 cp -f sds /usr/bin/sds 9 chmod +x /usr/bin/sds 10 11 uninstall: 12 rm -f /usr/bin/sds 13 14 clean: 15 rm -rf sds