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!
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!
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\;
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\;
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 :).
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 :).
syntax is:
nmake /f xxxx.mak
without this parameter, nmake looks for file "makefile" without extension.
nmake /f xxxx.mak
without this parameter, nmake looks for file "makefile" without extension.