diff --git a/Make.rules.in b/Make.rules.in index eea8e8e0a28..f5b245616e7 100644 --- a/Make.rules.in +++ b/Make.rules.in @@ -179,7 +179,7 @@ install install-lib install-dev uninstall:: 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 32b7f05c0b7..27eb1e5b63c 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -854,7 +854,7 @@ static int output_src( FILE *file, INCL_FILE *pFile, int *column ) } 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 */ {