delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/16/20:15:28

From: Fabrice ILPONSE <fabrice AT trash DOT lip6 DOT fr>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: What is Make??
Date: Tue, 16 Dec 1997 10:08:46 +0100
Organization: Universites Paris VI/Paris VII - France
Lines: 27
Message-ID: <3496451E.46E2@trash.lip6.fr>
References: <674pcp$dc2 AT bgtnsc01 DOT worldnet DOT att DOT net>
NNTP-Posting-Host: asim.lip6.fr
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019