|
From: jansb000 <jan...@wx...> - 2001-06-10 20:49:53
|
A makefile is a kind of script where you can specify how and in what =
order to execute programs. This is most commonly used for compilers and =
it works as follows:
my_prog.exe: my_prog.c my_prog.h
cc my_prog.c -omy_prog.exe
This means that the executable "my_prog" depends on the "c" and "h" =
file. Whenever you run make it will check the date/time stamps of your =
executable with those of the sourcefiles. If the sourcefiles are newer =
then the compiler will be invoked to generate an updated executable.
Hence: make always checks versions and re-creates programs whenever =
needed.
----- Original Message -----=20
From: Purohit Prahlad J.=20
To: dev...@li...=20
Sent: Sunday, June 10, 2001 6:35 AM
Subject: [Dev-C++] Makefile whats it?
Hello Folks,
I want to know what are make files and how to work with them when =
using borland command line tools in DEV c++ there is nothing such.
Any help is appreciated,
Prahlad
|