> Date: Fri, 15 Apr 2011 11:25:37 -0700 (PDT)
> From: AngusC <[email protected]>
> 
> 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
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to