summaryrefslogtreecommitdiffstats
path: root/god/temper/Makefile
diff options
context:
space:
mode:
authoreuer <root@euer.krebsco.de>2012-12-23 23:05:23 +0100
committereuer <root@euer.krebsco.de>2012-12-23 23:05:23 +0100
commit84b10fc1b458e8e9cc6f7a5146a8ebd665e8ec78 (patch)
tree28678a81978e68293698ff216530e7eef7755ce8 /god/temper/Makefile
parent6bf071ed7ae2020e061bb125bc24433286e240bc (diff)
//tts -> //util/tts
Diffstat (limited to 'god/temper/Makefile')
-rw-r--r--god/temper/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/god/temper/Makefile b/god/temper/Makefile
new file mode 100644
index 00000000..80c0206f
--- /dev/null
+++ b/god/temper/Makefile
@@ -0,0 +1,20 @@
+
+all: infest
+infest: temper rules-install
+CFLAGS = -O2 -Wall
+
+temper: temper.c
+ ${CC} -DUNIT_TEST -o $@ $^ -lusb
+ chmod +s temper
+ cp -a temper /usr/bin
+clean:
+ rm -f temper *.o
+
+rules-install: /etc/udev/rules.d/99-tempsensor.rules
+/etc/udev/rules.d/99-tempsensor.rules:
+ 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
+