summaryrefslogtreecommitdiff
path: root/nt/Makefile.in
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-05-29 19:48:42 +0300
committerEli Zaretskii <eliz@gnu.org>2013-05-29 19:48:42 +0300
commit38b787fa727fd98c3d61b9677a30e17d291d490c (patch)
tree2dd1206cdab3dd27718dd7a2ea7168e1bc0cd98b /nt/Makefile.in
parent8e399682a1f6298e1315cf799f30335abac78e4a (diff)
downloademacs-38b787fa727fd98c3d61b9677a30e17d291d490c.tar.gz
Remove *.res files in mostlyclean, to avoid problems with out-of-tree builds.
src/Makefile.in (mostlyclean): Remove *.res files. lib-src/Makefile.in (mostlyclean): Remove *.res files. nt/Makefile.in (emacs.res): Include srcdir when preprocessing resources, for out-of-tree builds. (mostlyclean): Remove *.res files.
Diffstat (limited to 'nt/Makefile.in')
-rw-r--r--nt/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/nt/Makefile.in b/nt/Makefile.in
index 3d5e1ca084c..7f68a1b83ad 100644
--- a/nt/Makefile.in
+++ b/nt/Makefile.in
@@ -168,7 +168,7 @@ uninstall:
fi
mostlyclean:
- -rm -f core *.o
+ -rm -f core *.o *.res
clean: mostlyclean
-rm -f ${EXE_FILES}
@@ -209,4 +209,4 @@ runemacs${EXEEXT}: ${srcdir}/runemacs.c $(EMACSRES)
-o runemacs${EXEEXT}
emacs.res: ${srcdir}/emacs.rc ${srcdir}/icons/emacs.ico ${srcdir}/$(EMACS_MANIFEST)
- ${WINDRES} -O coff -o emacs.res ${srcdir}/emacs.rc
+ ${WINDRES} -I ${srcdir} -O coff -o emacs.res ${srcdir}/emacs.rc