Can changes in a makefile trigger a rebuild?

2005-08-19 Thread Angel Tsankov
Can a makefile decide to rebuild a project if it (the makefile) has changed since the latest build? Note, this would probably require make to have a -M option so that included makefiles are also taken into account. Angel Tsankov [EMAIL PROTECTED]

Environment variables

2005-08-19 Thread Torsten Mohr
Hi, some people in the office use GNU make 3.79.1 on Windows 2000 machines. They also set the environment variable MAKE_MODE to DOS. I got interested and tried to find out what other variables influence the behaviour of make, but did not find anything in the documentation. A grep through the

Re: Environment variables

2005-08-19 Thread Greg Chicares
On 2005-8-19 9:37 UTC, Torsten Mohr wrote: some people in the office use GNU make 3.79.1 on Windows 2000 machines. They also set the environment variable MAKE_MODE to DOS. I think that might be specific to cygwin make. I got interested and tried to find out what other variables

distributed compile is avaliable?

2005-08-19 Thread 박병선
Hi, I’m a programmer from Korea. The size of our source is about 1G, and it takes 1 hour to compile fully. I am using ‘make’ to compile it, and I’d like to improve the compile speed using distributed compile. Does ‘make’ support distributed compile? Or can another util do it? My

Re: How to specify the location for .o files in makedepend?

2005-08-19 Thread Lan Xue
The -a option works neat! Thanks a lot John. Lan On Thu, 18 Aug 2005, John Graham-Cumming wrote: Lan Xue wrote: Hmm.. you are right. I changed to one line and problem solved :-). Now the depend section in my Makefile is like this: INC_ALL=-I$(IDIR) -I$(INCDIR1) -I$(INCDIR2)

Re: distributed compile is avaliable?

2005-08-19 Thread Ken Smith
On Fri, Aug 19, 2005 at 10:31:56AM +0900, ?? wrote: Hi, I??m a programmer from Korea. The size of our source is about 1G, and it takes 1 hour to compile fully. I am using ??make?? to compile it, and I??d like to improve the compile speed using distributed

Re: Can changes in a makefile trigger a rebuild?

2005-08-19 Thread Eric Hanchrow
You should read the GNU Make manual (http://www.gnu.org/software/make/manual/make.html), and you might also want to read about automake (http://www.gnu.org/software/automake/). -- I shrivel inside each time [Star Wars] is mentioned. -- Sir Alec Guinness

Re: distributed compile is avaliable?

2005-08-19 Thread Noel Yap
IIRC, there's a patch for GNU make (pmake?) that enables distributed builds. I'm not sure how up-to-date this is, though, and I've never tried it out myself. IMO, and no offense, Ken, distcc isn't great since: - it's limited to C and C++. - preprocessing is done locally which offsets much of

outputting which dependencies triggered a target action

2005-08-19 Thread Noel Yap
Is there an option less verbose than --debug that outputs which dependencies triggered a target action? Thanks, Noel ___ Help-make mailing list Help-make@gnu.org http://lists.gnu.org/mailman/listinfo/help-make

Re: outputting which dependencies triggered a target action

2005-08-19 Thread Shawn Halpenny
On 8/19/05, Noel Yap [EMAIL PROTECTED] wrote: Is there an option less verbose than --debug that outputs which dependencies triggered a target action? You just gave me a great idea to add to my build system. Here's roughly how I went about it. For my build system, all compilation+linkage

Re: outputting which dependencies triggered a target action

2005-08-19 Thread Shawn Halpenny
On 8/19/05, Shawn Halpenny [EMAIL PROTECTED] wrote: I posted a bit too soon. With some additional work, I can get the full dependency list for any target. The problem with my original solution: ifneq ($(PREREQS),) @echo $@: $? \| $| else @generic link/compile rule cmds endif Since the

Re: outputting which dependencies triggered a target action

2005-08-19 Thread Greg Chicares
On 2005-8-19 18:38 UTC, Noel Yap wrote: Is there an option less verbose than --debug that outputs which dependencies triggered a target action? I've been doing something that I guess is similar to Shawn's idea, but doesn't require order dependencies. My goal was automatically to maintain a