diff --git a/dlls/mshtml/Makefile.in b/dlls/mshtml/Makefile.in
index 11977afb49a..12f6f37d731 100644
--- a/dlls/mshtml/Makefile.in
+++ b/dlls/mshtml/Makefile.in
@@ -30,3 +30,6 @@ SUBDIRS = tests
rsrc.res: mshtml.inf blank.htm
### Dependencies:
+
+# note: this will get overwritten by make depend
+$(ALL_OBJS): $(IDL_SRCS:.idl=.h)