From e90a65963e4a3feb9531fdbce2dc464556fd339d Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 11 Jul 2011 14:46:45 +0200 Subject: updated temper Makefile --- temper/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'temper/Makefile') diff --git a/temper/Makefile b/temper/Makefile index 18165772..79dc3216 100644 --- a/temper/Makefile +++ b/temper/Makefile @@ -3,15 +3,16 @@ all: infest infest: temper CFLAGS = -O2 -Wall -temper: temper.c +temper: temper.c rules-install ${CC} -DUNIT_TEST -o $@ $^ -lusb chmod +s temper - install temper /usr/bin - + cp -a temper /usr/bin clean: rm -f temper *.o - rules-install: # must be superuser to do this cp 99-tempsensor.rules /etc/udev/rules.d debian-prereq: apt-get install libusb-dev +uninstall: + rm -f /etc/udev/rules.d/99-tempsensor.rules /usr/bin/temper + -- cgit v1.2.3