1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

VC++ make file

Discussion in 'MFC' started by sibu, Mar 21, 2007.

  1. sibu

    sibu New Member

    Joined:
    Mar 27, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    Hi all,

    Would like to know how do I crearte a make file in VC++. After that how do we compile it? Where can I get informaiton pertaining to this?

    thanking you


    Sibu
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,292
    Likes Received:
    365
    Trophy Points:
    83
    The best way to create a make file is to export the make file from the Project -> Export Make File menu. Now after exporting you can edit to suit your needs like changing the directory structure of the source / destination path.

    To compile using the make file use the nmake command at the command prompt. Remember to run the vcvars32.bat before using the nmake command.
     
  3. sibu

    sibu New Member

    Joined:
    Mar 27, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    Thank you very much. i will try it now. How do I specify the library file in make file? could you give me an example for a make file that includes a library file
     

Share This Page