1856566 Members
8676 Online
104113 Solutions
New Discussion

make

 
Hunki
Super Advisor

make

Cud somebody explain me the make steps give here.It is used for building of our code.
------------------------------------------
imake -I/baq/msm/${BAIN_ENV}/${VERSION}/config -Tsms.tmpl
make Makefiles
make clean
make install
make includes
make depend
make -k install
------------------------------------------
1 REPLY 1
A. Clay Stephenson
Acclaimed Contributor

Re: make

imake is used to make platform dependent makefiles. Makefiles are templete on how to actually compile and link code and to install in the designated locations. After running imake, you are now being told to
execute "make Makefiles" then "make clean" then "make install" ... . The argument supplied to make serves as the target. If you examine the Makefile (or makefile) you should see a line like
install: xxx yyy xxx
command1 aa bb cc
command2 xx yy zz
....

This essentially say when you execute make as "make install", look for the "install:" entry and follow those steps. A man make would explain much of this but make is fundamental to building complex applications.
If it ain't broke, I can fix that.