aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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