summaryrefslogtreecommitdiffstats
path: root/temper/Makefile
blob: 18165772f7fa092531c79d66678e62dbbe85f9a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

all: infest
infest: temper
CFLAGS = -O2 -Wall

temper:	temper.c
	${CC} -DUNIT_TEST -o $@ $^ -lusb
	chmod +s temper
	install 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