Hi Gulgul, Replying to list...
On 6/29/06, Gulgul Mamla <[EMAIL PROTECTED]> wrote:
I am trying to learn C++ fromt the book "Thinking in C++" and running samples on Windows XP. I am using make with cygwin. The make file is included below. I can see how a target like "Declare" is made. But the file created is Declare.exe. Could somebody please help me understand how (what setting etc) the system knows to create "Declare.exe" and not just "Declare"?
It happens automagically. Under linux, executables don't have an extension. Under windows they have an .exe extension. So the linker automatically adds a .exe extension so that linux makefiles "just work". -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
