|
-
April 20th, 2004, 05:56 PM
#1
converting UNIX makefile to nmake makefile
I have a serious issue. I am trying to convert a complex unix makefile to visual C++ nmake makefile.
nmake throws fatal error:
Microsoft (R) Program Maintenance Utility Version 7.00.9466
Copyright (C) Microsoft Corporation. All rights reserved.
makefile(33) : fatal error U1000: syntax error : ')' missing in macro invocation
Stop.
when encountering this line in my makefile:
client.exe: client.obj $(subst .idl, .obj, $(IDL_FILES)) $(DEPS)
$(LD) $(CXXFLAGS) $(LDFLAGS) $(LDLIBS) $(subst .idl,.obj,$(IDL_FILES)) $< -o $@
it traps on subst macro. Is this supported in nmake? If not then what is nmake equivalent?
-
April 21st, 2004, 05:41 AM
#2
NMAKE is very limited in its features and I haven't found a way to do SUBST in NMAKE.
I would recommend porting to gmake instead, which is usually acceptable, as gmake can be invoked from DevStudio like nmake.
The Saviour of the World is a Penguin and Linus Torvalds is his Prophet.
-
April 23rd, 2004, 11:26 PM
#3
Info about DevStudio
I cannot find DevStudio. Is this another
C++ IDE for windows?
Where I can get it? I thought this application will recognize gmake and will process it "as is" in windows environment.
that would be great if there is something like that.
I am still not able to convert unix make to
nmake.
-
April 24th, 2004, 03:30 AM
#4
Wakeup in the morning and kick the day in the teeth!! Or something like that.
"i don't want to write leak free code or most efficient code, like others traditional (so called expert) coders do."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|