summaryrefslogtreecommitdiffstats
path: root/modules/temper/Makefile
diff options
context:
space:
mode:
authorroot <root@krebs>2011-05-01 19:34:38 +0200
committerroot <root@krebs>2011-05-01 19:34:38 +0200
commit3707735a695511ecc2cbda80335342d211f4c9dd (patch)
treef463d6f14445968aa262f32f5931593c20a5ce69 /modules/temper/Makefile
added temper
Diffstat (limited to 'modules/temper/Makefile')
-rw-r--r--modules/temper/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/temper/Makefile b/modules/temper/Makefile
new file mode 100644
index 00000000..db6233fe
--- /dev/null
+++ b/modules/temper/Makefile
@@ -0,0 +1,12 @@
+all: temper
+
+CFLAGS = -O2 -Wall
+
+temper: temper.c
+ ${CC} -DUNIT_TEST -o $@ $^ -lusb
+
+clean:
+ rm -f temper *.o
+
+rules-install: # must be superuser to do this
+ cp 99-tempsensor.rules /etc/udev/rules.d