summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <mzfuryy@0pointer.net>2008-04-18 05:31:38 +0200
committerLennart Poettering <mzfuryy@0pointer.net>2008-04-18 05:31:38 +0200
commit1741f3d650a00bc75071f78590f454e2625e3c31 (patch)
tree79a94f32feb96763e540a2c4f818a9d03da3bc66
parentd532d27cc4af9a26e145b64b2779a9a9bded6bf5 (diff)
add suid target to Makefile
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 84419b0..250cca4 100644
--- a/Makefile
+++ b/Makefile
@@ -3,5 +3,9 @@ CFLAGS=-Wall -W -pipe -O2
rtwatch: rtwatch.o
$(CC) $(CFLAGS) -o $@ $^
+suid:
+ chown root:root rtwatch
+ chmod u+s rtwatch
+
clean:
rm -f rtwatch rtwatch.o