From: Daniel Carl Date: Fri, 4 Jul 2014 22:42:04 +0000 (+0200) Subject: Fixed wrong placed dependency include in Makefile. X-Git-Url: https://git.owens.tech/assets/favicon.png/assets/favicon.png/git?a=commitdiff_plain;h=5e9bdc26bc4a91e744ded203ea225a9e1a71a084;p=vimb.git Fixed wrong placed dependency include in Makefile. Allow to generate dependency files during compilation with CFLAGS="-MMD". --- 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