From e20b2956e4d39fd8698a01d121916827d3bf0e63 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 20 Apr 2014 13:21:54 +0200 Subject: misc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index cd4d467..e7f9867 100644 --- a/Makefile +++ b/Makefile @@ -64,14 +64,15 @@ C_FLAGS = $(OPTIMISE) $(WARN) -std=$(STD) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) \ .PHONY: all all: bin/mds + bin/mds: obj/mds.o mkdir -p bin gcc $(C_FLAGS) -o $@ $^ -obj/mds.o: src/mds.c +obj/%.o: src/%.c src/*.h mkdir -p obj - gcc $(C_FLAGS) -c -o $@ $^ + gcc $(C_FLAGS) -c -o $@ $< -- cgit v1.2.3-70-g09d2