From 1be3886508d2fe35df06e97336598d11bf2dd965 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 16 Jul 2016 13:43:52 +0200 Subject: [PATCH] build: Don't create phony targets for dependencies. The -MP option is supposed to work around make errors after a header file was removed. However, with the option enabled, the attempt to include a non-existing header file causes the build to loop endlessly. --- Makefile.real | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.real b/Makefile.real index bc05c75d..cb3bcaa3 100644 --- a/Makefile.real +++ b/Makefile.real @@ -255,7 +255,7 @@ $(object_dir)/%.o: %.c | $(object_dir) # part we prefix the dependency as appropriate. $(dep_dir)/%.d: %.c | $(dep_dir) @[ -z "$(Q)" ] || echo 'DEP $<' - $(Q) $(CC) $(CPPFLAGS) -MM -MG -MP -MT $@ -MT $(object_dir)/$(*F).o $< \ + $(Q) $(CC) $(CPPFLAGS) -MM -MG -MT $@ -MT $(object_dir)/$(*F).o $< \ | sed -e "s@ \([a-zA-Z0-9_]\{1,\}.lsg.h\)@ $(lls_suite_dir)/\1@g" > $@ para_recv para_afh para_play para_server: LDFLAGS += $(id3tag_ldflags) -- 2.39.2