]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Emit phony targets in dep files
authorAndreas Öman <andreas@lonelycoder.com>
Tue, 7 Jun 2011 19:10:08 +0000 (21:10 +0200)
committerAndreas Öman <andreas@lonelycoder.com>
Tue, 7 Jun 2011 19:10:41 +0000 (21:10 +0200)
Makefile

index 10219170136aa902188f0281772a8ef1b2d33ded..20012a2652e4c3f0843b5b3dfd0431f71e37b93c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -181,7 +181,7 @@ $(OBJDIRS):
        @mkdir -p $@
 
 ${BUILDDIR}/%.o: %.c
-       $(CC) -MD $(CFLAGS_com) $(CFLAGS) $(CFLAGS_cfg) -c -o $@ $(CURDIR)/$<
+       $(CC) -MD -MP $(CFLAGS_com) $(CFLAGS) $(CFLAGS_cfg) -c -o $@ $(CURDIR)/$<
 
 ${BUILDDIR}/%.so: ${SRCS_EXTRA}
        ${CC} -O -fbuiltin -fomit-frame-pointer -fPIC -shared -o $@ $< -ldl