From 9c7d3117f422a7deb3e42d666ed9e2308438eaca Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 22 Apr 2014 05:19:09 +0200 Subject: linked list implementation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 196258c..048a21d 100644 --- a/Makefile +++ b/Makefile @@ -62,15 +62,15 @@ C_FLAGS = $(OPTIMISE) $(WARN) -std=$(STD) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) \ # Build rules. .PHONY: all -all: bin/mds bin/mds-server +all: bin/mds bin/mds-server bin/libmdsserver/linked-list bin/%: obj/%.o - mkdir -p bin + mkdir -p $(shell dirname $@) gcc $(C_FLAGS) -o $@ $^ obj/%.o: src/%.c src/%.h src/config.h - mkdir -p obj + mkdir -p $(shell dirname $@) gcc $(C_FLAGS) -c -o $@ $< -- cgit v1.2.3-70-g09d2