From 431afde0bfcbbccb4c7dad0cece3552384ba2862 Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 22 Nov 2012 18:26:33 +0100 Subject: retiolum: add find_super script finds potential supernodes based on the open tinc port. if a dedicated port is added, the script will fail to produce correct output but it gives a good overview of the current supernode constellation --- temper/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'temper/Makefile') diff --git a/temper/Makefile b/temper/Makefile index 79dc3216..80c0206f 100644 --- a/temper/Makefile +++ b/temper/Makefile @@ -1,15 +1,17 @@ all: infest -infest: temper +infest: temper rules-install CFLAGS = -O2 -Wall -temper: temper.c rules-install +temper: temper.c ${CC} -DUNIT_TEST -o $@ $^ -lusb chmod +s temper cp -a temper /usr/bin clean: rm -f temper *.o -rules-install: # must be superuser to do this + +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 -- cgit v1.2.3