NMake

R

RG

I am trying to compile a makefile project. I have a makefile. I can't find
documentation and/or samples of buil/rebuild/clean command line syntax. I
am sure as to what goes there. Is it os command line make statement for
build? or just parameters?

Any help would be appreciated.

Thanks in advance
 
W

William DePalo [MVP VC++]

RG said:
I am trying to compile a makefile project. I have a makefile. I can't
find documentation and/or samples of buil/rebuild/clean command line
syntax. I am sure as to what goes there. Is it os command line make
statement for build? or just parameters?

Type

nmake /?

at the command line for help.

To build everything ( a[ll] ) you would use the command

nmake -a -f YourMaKeFileNameGoesHere

Regards,
Will
 
R

RG

I am sorry. I didn't make myself clear. Nmake command line options I know.
However, I don't know how to use within Visual Studio .NET.
William DePalo said:
RG said:
I am trying to compile a makefile project. I have a makefile. I can't
find documentation and/or samples of buil/rebuild/clean command line
syntax. I am sure as to what goes there. Is it os command line make
statement for build? or just parameters?

Type

nmake /?

at the command line for help.

To build everything ( a[ll] ) you would use the command

nmake -a -f YourMaKeFileNameGoesHere

Regards,
Will
 
W

William DePalo [MVP VC++]

RG said:
I am sorry. I didn't make myself clear. Nmake command line options I
know. However, I don't know how to use within Visual Studio .NET.

Well, normally you would use the IDE's projects system and use its Build
menu.

But if you have a .mak file that you want to use then you can choose

File->Open->Project

from the menu.

Regards,
Will
 
G

Guest

I created an nmake project visual studio .net. When I go to
project->properties->configuration properties->nmake there is buid command
line, rebuild command line, etc.. entries on the right. I wanted to know
what we actually specify in those entries.
 
M

Martin Richter [MVP]

Hallo RG!
I created an nmake project visual studio .net. When I go to
project->properties->configuration properties->nmake there is buid command
line, rebuild command line, etc.. entries on the right. I wanted to know
what we actually specify in those entries.

Your make file should cover the cases of normal build, rebuild an clean.
For each case there is a target in you make file (or should be) you
should specifiy the specific command line that cases nmkae to perform
the action of rebuild, build and clean. So the IDE can use the menu
items from the project menu.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top