Mail Archives: djgpp/1997/12/16/20:15:28
Kent wrote:
>
> Hey, I was just wondering what Make and Makefiles are. Thanks, cYA
> --
> _ ___
> |/ |_ |\ | |
> |\ |_ | \| | e-mail: cybyrpunk AT postoffice DOT worldnet DOT att DOT net
> webpage: http://www.angelfire.com/oh/cybyrpunk
Make is a tool that optimize the shell actions. I mean it do not execute
commands that are not nedded for example recompile a file that haven't
change. In the Makefile, you've got rules to do that.
eg.
toto.o: toto.c
gcc -o toto.o toto.c
toto.o will be created only if the actual toto.o do not correspond to
toto.c. To know that Make check the creation dates of toto.c and toto.o!
--
^ ^ ^
| | |
+-+-+ Fabrice ILPONSE
| <fabrice AT asim DOT lip6 DOT fr>
|
|
-
- Raw text -