[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: newbie first makefile question - ms compiler
From: |
AngusC |
Subject: |
Re: newbie first makefile question - ms compiler |
Date: |
Sat, 16 Apr 2011 07:39:35 -0700 (PDT) |
Thanks Eli, Perfect.
Eli Zaretskii wrote:
>
>> Date: Fri, 15 Apr 2011 11:25:37 -0700 (PDT)
>> From: AngusC <address@hidden>
>>
>> I want to start using make - on Windows using ms vc++ compiler. I want
>> to
>> eventually create cross platform makefiles.
>>
>> I need to invoke the ms compiler and the samples I have seen use nmake or
>> non windows samples.
>>
>> My makefile looks like this
>> angustest.exe: angustest.obj
>> link.exe /NOLOGO -subsystem:console,4.0 libcpmt.lib user32.lib
>> /out:angustest.exe angustest.obj
>>
>> angustest.obj: angustest.cpp
>> cl /GR /nologo /MTd /W3 /GB /GX /Gi- /Z7 /Od /GZ -c angustest.cpp
>
> Commands should be indented with a TAB character, like this:
>
> angustest.exe: angustest.obj
> link.exe /NOLOGO -subsystem:console,4.0 libcpmt.lib user32.lib
> /out:angustest.exe angustest.obj
>
> angustest.obj: angustest.cpp
> cl /GR /nologo /MTd /W3 /GB /GX /Gi- /Z7 /Od /GZ -c angustest.cpp
>
>
> _______________________________________________
> Help-make mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-make
>
>
--
View this message in context:
http://old.nabble.com/newbie-first-makefile-question---ms-compiler-tp31408306p31413259.html
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.