summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2014-07-05 00:42:04 +0200
committerDaniel Carl <danielcarl@gmx.de>2014-07-05 15:48:37 +0200
commit5e9bdc26bc4a91e744ded203ea225a9e1a71a084 (patch)
tree8d24dd0d53cfd368b12533ca24021c3ac64a7954
parentbd69e98d1e89bd9bb24ab43b708f1db503f5ad08 (diff)
Fixed wrong placed dependency include in Makefile.
Allow to generate dependency files during compilation with CFLAGS="-MMD".
-rw-r--r--.gitignore2
-rw-r--r--Makefile4
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