aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-12 02:10:27 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-12 02:10:34 +0200
commitee4be84d907bc2201d3ba2f722a657382ceba47d (patch)
treec043eb52af998d195c465ab384e61163a576b8b4 /Makefile
parentm (diff)
downloadmds-ee4be84d907bc2201d3ba2f722a657382ceba47d.tar.gz
mds-ee4be84d907bc2201d3ba2f722a657382ceba47d.tar.bz2
mds-ee4be84d907bc2201d3ba2f722a657382ceba47d.tar.xz
m + fix errors in mds.c
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d891b85..2d8891d 100644
--- a/Makefile
+++ b/Makefile
@@ -97,10 +97,18 @@ obj/libmdsserver/%.o: src/libmdsserver/%.c src/libmdsserver/*.h
$(CC) $(C_FLAGS) -fPIC -c -o $@ $<
+# Set permissions on built files.
+
+.PHONY: perms
+perms: all
+ sudo chown 'root:root' bin/mds
+ sudo chmod 4755 bin/mds
+
+
# Clean rules.
.PHONY: clean
clean:
- -rm -r obj bin
+ -rm -rf obj bin