From: Daniel Carl Date: Mon, 16 Apr 2018 21:27:18 +0000 (+0200) Subject: Include dependencies at the end. X-Git-Url: https://git.owens.tech///git?a=commitdiff_plain;h=4d8b8d3ac8161c64d65c98780b5ec8b3b7a8cf3f;p=vimb.git Include dependencies at the end. --- diff --git a/src/Makefile b/src/Makefile index 9c0ed2b..412e1a1 100644 --- a/src/Makefile +++ b/src/Makefile @@ -19,8 +19,6 @@ setting.o: scripts/scripts.h scripts/scripts.h: scripts.subdir-all --include $(OBJ:.o=.d) - config.h: @echo create $@ from config.def.h $(Q)cp config.def.h $@ @@ -35,4 +33,6 @@ config.h: %.subdir-clean: $(Q)$(MAKE) -C $* clean +-include $(OBJ:.o=.d) + .PHONY: all clean diff --git a/src/webextension/Makefile b/src/webextension/Makefile index 2f438b5..5189e65 100644 --- a/src/webextension/Makefile +++ b/src/webextension/Makefile @@ -15,4 +15,6 @@ $(EXTTARGET): $(OBJ) @echo "${CC} $@" $(Q)$(CC) $(EXTCPPFLAGS) $(EXTCFLAGS) -fPIC -c -o $@ $< +-include $(OBJ:.lo=.d) + .PHONY: all clean