Page 1 of 1

Where can I find MAKE utility for Dos?

Posted: Mon Apr 04, 2005 5:12 am
by Red Shaya
Any Make will do, GNU, BORLAND etc'.
The problem is that I can't find any.

Re:Where can I find MAKE utility for Dos?

Posted: Mon Apr 04, 2005 5:37 am
by Solar

Re:Where can I find MAKE utility for Dos?

Posted: Mon Apr 04, 2005 5:40 am
by Neo
http://www.cygwin.com
A nicer developer environment itself. ;)

Re:Where can I find MAKE utility for Dos?

Posted: Tue Apr 05, 2005 1:07 am
by Solar
But Cygwin is *Win*, not *DOS*... ;)

Re:Where can I find MAKE utility for Dos?

Posted: Tue Apr 05, 2005 5:06 am
by Red Shaya
Thanks

Previously I had problems connecting to the FTP.
It took me this try to discover the HTTP connection :-)

http://www.delorie.com/pub/djgpp/

Re:Where can I find MAKE utility for Dos?

Posted: Tue Apr 05, 2005 6:03 am
by Neo
Solar wrote: But Cygwin is *Win*, not *DOS*... ;)
I just didn't think there would be people using plain old DOS out there. I thought he would be using it from a DOS box in Windows.

Re:Where can I find MAKE utility for Dos?

Posted: Tue Apr 05, 2005 8:43 am
by Solar
When in doubt, I tend to take people literally. ;)

Re:Where can I find MAKE utility for Dos?

Posted: Tue Apr 05, 2005 1:12 pm
by Joey
what is MAKE?

Re:Where can I find MAKE utility for Dos?

Posted: Tue Apr 05, 2005 7:53 pm
by AR
It's a program that executes a specialised script, usually to compile a program that is written in C/C++ in the Unix world. It is suited to this because of the ease of version determination and recompilation when the source is modified.

Example script:

Code: Select all

all: myfile1.o myfile2.o
     $(LD) myfile1.o myfile2.o -o MyProgram

myfile1.o: myfile1.c
     $(CC) -c myfile1.c -o myfile1.o

myfile2.o: myfile2.c
     $(CC) -c myfile2.c -o myfile2.o
Then execute "make all" to build it.

Re:Where can I find MAKE utility for Dos?

Posted: Wed Apr 06, 2005 1:34 am
by Solar
More generally speaking, 'make' is a utility that checks whether a 'source' has been modified after a 'target' has last been created, and runs one or more commands if that is the case (usually to rebuild the 'target' from the 'source').

It is mighty useful in larger software projects, where you don't want to recompile everything just because you touched one source file.

Re:Where can I find MAKE utility for Dos?

Posted: Sun Apr 10, 2005 5:03 pm
by DevL
In addition, make is often used to not only build software, but also install it. This is especially true for UNIX envirionements.

Here's an easily digested link: http://www.tldp.org/LDP/LG/current/smith.html

You just have to love this excerpt:
The old UNIX joke, by the way, is what early versions of make said when it could not find the necessary files. In the example above, if there was no love.o, love.c or any other source format, the program would have said:
make: don't know how to make love. Stop.