From: Davin McCall Date: Mon, 26 Jun 2017 09:21:49 +0000 (+0100) Subject: Makefile: fix warnings on initial build due to missing *.d files. X-Git-Tag: v0.06~40 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c6446032ba13cfea4fbcae1ddf2fefb2dc8b30bd;hp=f2acb732bcba3504d316a7ef715ea9b19d326552;p=oweals%2Fdinit.git Makefile: fix warnings on initial build due to missing *.d files. These are the auto-generated dependency information files, which do not exist on initial build (or after clean). --- diff --git a/src/Makefile b/src/Makefile index e308ec6..b996f5f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,4 +1,4 @@ --include ../mconfig +include ../mconfig ifeq ($(BUILD_SHUTDOWN),yes) SHUTDOWN=shutdown @@ -40,4 +40,4 @@ clean: $(objects:.o=.d): %.d: %.cc $(CXX) $(CXXOPTS) -Idasynq -MM -MG -MF $@ $< -include $(objects:.o=.d) +-include $(objects:.o=.d)