Thread: [Dev-C++] Makefile whats it?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Purohit P. J. <pra...@si...> - 2001-06-10 04:36:08
|
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
|
|
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
|
|
From: Purohit P. J. <pra...@si...> - 2001-06-11 00:59:23
|
Thanks for your help...
Can anyone please mail me all the options that can be used in a =
make file. or can any one give me a weblink where I can find it.
----- Original Message -----=20
From: jansb000=20
To: dev...@li...=20
Sent: Monday, June 11, 2001 2:26 AM
Subject: Re: [Dev-C++] Makefile whats it?
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
|
|
From: jansb000 <jan...@wx...> - 2001-06-11 21:19:49
|
At the bloodshed site is a link to mingw. It is an url which contains =
"xraylith" owned by "mr Muhmit Khan". I do not remember the exact url =
but with this info you should be able to find it. On his site you can =
also find a link to "make" or "binutils".
Note: that you need a special version ported for mingw. In the past I =
tried to use the make utility from DJGPP. That really kept me busy for a =
while until I discovered that these versions are not compatible.=20
----- Original Message -----=20
From: Purohit Prahlad J.=20
To: dev...@li...=20
Sent: Monday, June 11, 2001 2:59 AM
Subject: Re: [Dev-C++] Makefile whats it?
Thanks for your help...
Can anyone please mail me all the options that can be used in a =
make file. or can any one give me a weblink where I can find it.
----- Original Message -----=20
From: jansb000=20
To: dev...@li...=20
Sent: Monday, June 11, 2001 2:26 AM
Subject: Re: [Dev-C++] Makefile whats it?
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
|
|
From: jansb000 <jan...@wx...> - 2001-06-11 21:22:50
|
Hey, I checked on my system. In my devc directory "bin" is a file =
"make.exe". That is the file you are looking for.
----- Original Message -----=20
From: Purohit Prahlad J.=20
To: dev...@li...=20
Sent: Monday, June 11, 2001 2:59 AM
Subject: Re: [Dev-C++] Makefile whats it?
Thanks for your help...
Can anyone please mail me all the options that can be used in a =
make file. or can any one give me a weblink where I can find it.
----- Original Message -----=20
From: jansb000=20
To: dev...@li...=20
Sent: Monday, June 11, 2001 2:26 AM
Subject: Re: [Dev-C++] Makefile whats it?
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
|
|
From: Ramana K. <ra...@my...> - 2001-06-11 12:57:49
|
I dont know what a makefile is. What is it? And how can I use it to compile
only the files needed in my large project? Will dev-c++ be implementing this
automatically soon?
Thanks
Ramana
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Purohit
Prahlad J.
Sent: Sunday, 10 June 2001 2:36 PM
To: dev...@li...
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
|
|
From: Steve D. P. <ste...@ho...> - 2001-06-11 13:24:02
|
Makefiles are part of a standard system for building large applications,
applications is made up of numerous components and source files that must be
carefully tied-in together. I don't mean to sound snotty, but if you've
never heard of it than you're probably not yet at a point where you would
have use for it. When you find yourself building applications involving
multiple source files and it's a real pain to keep everything straight... do
a web search on "gnu make", and you should find all the resources you need
to explore and experiment with makefiles and the make system.
Dev-C++ already has support for make... the "Generate Makefile" option
appears within the "Project" pull-down menu.
----- Original Message -----
From: Ramana Kumar
To: dev...@li...
Sent: Sunday, June 10, 2001 3:05 AM
Subject: RE: [Dev-C++] Makefile whats it?
I don't know what a makefile is. What is it? And how can I use it to compile
only the files needed in my large project? Will dev-c++ be implementing this
automatically soon?
Thanks
Ramana
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Purohit
Prahlad J.
Sent: Sunday, 10 June 2001 2:36 PM
To: dev...@li...
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
|