From 419beedef7c03ec86c16d523ba90bc6329d4d6c8 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 21 Apr 2014 02:29:38 +0200 Subject: mds-server: parse command line arguments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a9080e9..eafecdb 100644 --- a/Makefile +++ b/Makefile @@ -62,15 +62,14 @@ C_FLAGS = $(OPTIMISE) $(WARN) -std=$(STD) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) \ # Build rules. .PHONY: all -all: bin/mds +all: bin/mds bin/mds-server -bin/mds: obj/mds.o +bin/%: obj/%.o mkdir -p bin gcc $(C_FLAGS) -o $@ $^ - -obj/%.o: src/%.c src/*.h +obj/%.o: src/%.c src/%.h src/config.h mkdir -p obj gcc $(C_FLAGS) -c -o $@ $< -- cgit v1.2.3-70-g09d2