Ethereal-dev: [Ethereal-dev] Makefile.nmake problem

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Andrew Feren" <aferen@xxxxxxxxxxxxxxxxx>
Date: Fri, 14 May 2004 11:04:27 -0400
It's been a while and I'm in the process of setting up a Windows build again.  I am getting a couple of problems I don't recall having before.
 
nmake (Version 1.50) is complaining about the following rule (line 23 of the top level Makefile.nmake).
 
.c.obj::
 $(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
changing the above to
 
.c.obj:
 $(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
works, but that doesn't make sense.
 
 
Also I am getting the following error when nmake attempts to recurse
 
        cd tools
        NMAKE /D -f Makefile.nmake
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1'
Stop.
 
If I cd to tools and run nmake by hand it complains when recursing into lemon.  If I cd into lemon lemon.exe builds just fine.  It looks like something isn't quoted properly, but I can't figure out what is causing the problem and why calling nmake recursively is triggering it.
 
If it helps I have the latest 1.4 ethereal code out of CVS and I am attempting to build on XP.
 
Any thoughts or suggestions?
 
-Andrew