makefiles: Generate dependencies for rsrc.pot.
diff --git a/Make.rules.in b/Make.rules.in
index eea8e8e..f5b2456 100644
--- a/Make.rules.in
+++ b/Make.rules.in
@@ -179,7 +179,7 @@
all: @MAINTAINER_MODE@ $(PO_SRCS:%=rsrc.pot)
-$(PO_SRCS:%=rsrc.pot): $(WRC) $(PO_SRCS)
+rsrc.pot: $(WRC)
$(LDPATH) $(WRC) $(RCFLAGS) -O pot -o $@ $(PO_SRCS)
$(MC_SRCS:.mc=.mc.rc): $(WMC)
diff --git a/tools/makedep.c b/tools/makedep.c
index 32b7f05..27eb1e5 100644
--- a/tools/makedep.c
+++ b/tools/makedep.c
@@ -854,7 +854,7 @@
}
else if (!strcmp( ext, "rc" )) /* resource file */
{
- *column += fprintf( file, "%s.res: %s", obj, pFile->filename );
+ *column += fprintf( file, "rsrc.pot %s.res: %s", obj, pFile->filename );
}
else if (!strcmp( ext, "mc" )) /* message file */
{