diff --git a/Makefile b/Makefile
index 0ed28a1..7d38d07 100644
--- a/Makefile
+++ b/Makefile
@@ -52,5 +52,8 @@ all: $(OBJS)
clean:
rm -rf $(SOURCE_PATH)*.$(OBJ) $(EXE)
+install:
+ cp $(EXE) /usr/sbin
+
rebuild: clean all
#rebuild is not entirely correct
diff --git a/README.md b/README.md
index 538a7ab..f230a2e 100644
--- a/README.md
+++ b/README.md
@@ -19,12 +19,20 @@ Compile Instructions
---------------------
Compile with
-make
+ make
Manually compile with
-gcc -o bin/mbpfan src/mbpfan.c -lm
+ gcc -o bin/mbpfan src/mbpfan.c -lm
+Install Instructions
+--------------------
+
+Install with
+ make install
+
+It actually copies mbpfan to /usr/sbin,
+
Run Instructions
---------------------
Fixes #7
3551dcc3c41ab53a3c33d5c8186395c185c0e81b
Daniel Graziotin <dgraziotin@task3.cc> · 2012-06-15T21:12 ·
browse files at this commit
parents:
7e65d1e