From ee4be84d907bc2201d3ba2f722a657382ceba47d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 12 May 2014 02:10:27 +0200 Subject: m + fix errors in mds.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3-70-g09d2