From 5e9bdc26bc4a91e744ded203ea225a9e1a71a084 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Sat, 5 Jul 2014 00:42:04 +0200 Subject: [PATCH] Fixed wrong placed dependency include in Makefile. Allow to generate dependency files during compilation with CFLAGS="-MMD". --- .gitignore | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 7439153..619fd38 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -*.[oa] +*.[oad] *.[ld]o vimb vimb_dbg diff --git a/Makefile b/Makefile index b8dcf74..a774760 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,5 @@ include config.mk --include $(DEPS) - all: $(TARGET) debug: $(DTARGET) test: $(LIBTARGET) @@ -82,4 +80,6 @@ src/config.h: @echo "${CC} $@" @$(CC) -DTESTLIB $(DFLAGS) -fPIC -c -o $@ $< +-include $(DEPS) + .PHONY: clean debug all install uninstall options dist dist-clean test test-clean -- 2.20.1