Hello, Gurus

Could you please tell me to how to trigger a makefile under DOS?

What command should I use?

I tried make. It's not working.


Thanks a lot for your help in advance!
Posted on 2001-08-05 23:36:37 by jinlii7
Running make under dos should be no different than running it under a console window. Just type in make and everything runs.

The problem may be that dos does not know what path or directory the maky utility is in.

To configure that, you'll have to modify autoexec.bat and set the path to something similiar:

SET PATH=c:\winnnt\;c:\make_dir\;
Posted on 2001-08-06 01:02:06 by dl?
First of all, you should say whether you mean "dos" as in "Pure dos
mode"
or as a dos box under windows. The microsoft make utility is a PE
executable, so it will only run under windows.

As for the name, it is "nmake.exe", not just make :).
Posted on 2001-08-06 02:51:56 by f0dder
syntax is:

nmake /f xxxx.mak

without this parameter, nmake looks for file "makefile" without extension.
Posted on 2001-08-06 03:37:08 by japheth