changeset 108711:2dbc9a7e7e46

* config.bat: Need to add the deps.mk file before running cpp.
author Glenn Morris <rgm@gnu.org>
date Wed, 19 May 2010 23:24:35 -0700
parents 3d52b62368db
children 056a00ed4b81
files config.bat
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/config.bat	Wed May 19 23:20:39 2010 -0700
+++ b/config.bat	Wed May 19 23:24:35 2010 -0700
@@ -190,11 +190,11 @@
 if exist dir.h ren dir.h vmsdir.h
 
 rem   Create "makefile" from "makefile.in".
-rm -f Makefile junk.c
+rm -f Makefile junk.c junk2.c
 sed -e "1,/== start of cpp stuff ==/s@^##*[ 	].*$@@" <Makefile.in >junk.c
-gcc -E -traditional junk.c | sed -f ../msdos/sed1v2.inp >makefile.tmp
-copy makefile.tmp + deps.mk Makefile
-rm -f junk.c makefile.tmp
+copy junk.c + deps.mk junk2.c
+gcc -E -traditional junk2.c | sed -f ../msdos/sed1v2.inp >Makefile
+rm -f junk.c junk2.c
 
 if "%X11%" == "" goto src5
 mv Makefile makefile.tmp