# -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.\r
# Copyright (C) 2000, 2001, 2002, 2003, 2004,\r
-# 2005, 2006 Free Software Foundation, Inc.\r
+# 2005, 2006, 2007 Free Software Foundation, Inc.\r
#\r
# Top level makefile for building GNU Emacs on Windows NT\r
#\r
# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\r
# Boston, MA 02110-1301, USA.\r
\r
+# FIXME: This file uses DOS EOLs. Convert to Unix after 22.1 is out\r
+# (and remove or replace this comment).\r
+\r
ALL = addpm ddeclient runemacs cmdproxy addsection preprep\r
\r
.PHONY: $(ALL)\r
# it is not necessary on later versions, it is still ok to use it.\r
#\r
$(TRES): emacs.rc stamp_BLD\r
- $(RC) $(RC_OUT)$(BLD)/emacs.res $<\r
+ $(RC) $(RC_OUT)$(BLD)/emacs.res emacs.rc\r
\r
runemacs: stamp_BLD $(BLD)/runemacs.exe\r
$(BLD)/runemacs.exe: $(BLD)/runemacs.$(O) $(TRES)\r
\r
all-other-dirs-nmake: addsection\r
cd ..\lib-src\r
- $(MAKE) $(MFLAGS) $(XMFLAGS) all\r
+ $(MAKE) $(MFLAGS) all\r
cd ..\src\r
- $(MAKE) $(MFLAGS) $(XMFLAGS) all\r
+ $(MAKE) $(MFLAGS) all\r
cd ..\lisp\r
- $(MAKE) $(MFLAGS) $(XMFLAGS) all\r
+ $(MAKE) $(MFLAGS) all\r
cd ..\leim\r
- $(MAKE) $(MFLAGS) $(XMFLAGS) all\r
+ $(MAKE) $(MFLAGS) all\r
cd ..\nt\r
\r
all-other-dirs-gmake: addsection\r
\r
recompile-nmake:\r
cd ..\lisp\r
- $(MAKE) $(MFLAGS) $(XMFLAGS) recompile\r
+ $(MAKE) $(MFLAGS) recompile\r
cd ..\nt\r
\r
recompile-gmake:\r
exit -1; \\r
fi\r
\r
-bootstrap: addsection bootstrap-$(MAKETYPE) all\r
+bootstrap: addsection bootstrap-$(MAKETYPE)\r
+ $(MAKE) $(MFLAGS) $(XMFLAGS) all\r
\r
bootstrap-nmake: addsection\r
cd ..\lisp\r
clean: clean-other-dirs-$(MAKETYPE)\r
- $(DEL) *~ $(COMPILER_TEMP_FILES)\r
- $(DEL_TREE) $(OBJDIR)\r
+ - $(DEL) stamp_BLD\r
- $(DEL) ../etc/DOC ../etc/DOC-X\r
\r
clean-other-dirs-nmake:\r