mallrelop.blogg.se

How to make simple makefile for c program
How to make simple makefile for c program










Upon nmake call, we have following files in our project directory:Ĭ:\DEVELOPMENT\RESEARCH\C++\HelloWorld\build>nmake allĬl /EHsc /Fe.\bin\x86\helloworld.exe /I.\include. Microsoft (R) Incremental Linker Version 9.01Ĭ:\DEVELOPMENT\RESEARCH\C++\HelloWorld>mainĬompiler creates obj file and automatically invokes the linker after compiling unless the /c option is used. Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 9.01 for 80x86Ĭ:\Program Files\Microsoft Visual Studio 10.0\VC\include\xlocale(323) : warningĬ4530: C++ exception handler used, but unwind semantics are not enabled. Microsoft (R) Program Maintenance Utility Version 9.01Ĭopyright (C) Microsoft Corporation. Setting environment for using Microsoft Visual Studio 2010 x86 tools.Ĭ:\DEVELOPMENT\RESEARCH\C++\HelloWorld>where nmakeĬ:\Program Files\Microsoft Visual Studio 10.0\VC\bin\nmake.exeĬ:\DEVELOPMENT\RESEARCH\C++\HelloWorld>where cl.exeĬ:\Program Files\Microsoft Visual Studio 10.0\VC\bin\cl.exeĬ:\DEVELOPMENT\RESEARCH\C++\HelloWorld>where link.exeĬ:\Program Files\Microsoft Visual Studio 10.0\VC\bin\link.exeĬ:\DEVELOPMENT\RESEARCH\C++\HelloWorld>nmake

how to make simple makefile for c program












How to make simple makefile for c program