diff options
author | makefu <github@syntax-fehler.de> | 2013-11-19 08:41:07 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2013-11-19 08:41:22 +0100 |
commit | 022d115bdae70e588b4639da5b3037845fab9fe6 (patch) | |
tree | 7addfc032eee3ddb6253a0a5eac8284baef69c5d /.graveyard/temper/Makefile | |
parent | b2bdf4e508bd6c58445de4ad302c656a8cf2e983 (diff) |
temper -> graveyard
Diffstat (limited to '.graveyard/temper/Makefile')
-rw-r--r-- | .graveyard/temper/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.graveyard/temper/Makefile b/.graveyard/temper/Makefile new file mode 100644 index 00000000..d18ad710 --- /dev/null +++ b/.graveyard/temper/Makefile @@ -0,0 +1,20 @@ + +all: infest +infest: temper rules-install +CFLAGS = -O2 -Wall -DDEBUG + +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 + |