www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/22/23:06:27

From: leathm AT solwarra (Leath Muller)
Message-Id: <199609230241.MAA13355@gbrmpa.gov.au>
Subject: Re: Make files
To: R DOT L DOT F DOT v DOT Paasen AT stud DOT tue DOT nl
Date: Mon, 23 Sep 1996 12:41:21 +1000 (EST)
Cc: djgpp AT delorie DOT com
In-Reply-To: <32461180.29C6@stud.tue.nl> from "Richard L.F. van Paasen" at Sep 22, 96 09:26:40 pm

> - take all *.cpp and *.c and *.asm files in a given directory (yes,
> all!)
> - take some named .cpp .c and .asm files
> - compile them, when they need to be compiled (ie. when header files and
> the
>   source itself are changed)

The best thing you can do is sit down and type:
	info "Make"
This will tell you everything you need to know. There is a lot too, so
get ready to write stuff down. Make also checks to see if a file has been
changed, and will automatically compile changed files, and leave the rest
alone.
 
> - compile the whole thing into an archive (or executable), add some libs
>   and objs to it (ehh, I mean .a and .o files)

I think you have to use ld for this ... I am not sure as I haven't done it
myself. Check the faq, it will most likely say something...

Leathal.

- Raw text -


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