[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 1st action before build

From: Tom Tromey
Subject: Re: 1st action before build
Date: 17 Aug 2001 20:20:58 -0600

>>>>> "Hari" == Raja R Harinath <address@hidden> writes:

Hari> If you need to do something before compiling myprog.o, express
Hari> that dependency.  For examply, if 'foo.h' is a file that needs
Hari> to exist before myprog.c can be compiled, use the following line
Hari> in your Makefile.
Hari>   myprog.o: foo.h

This is really the best way.
If you want it to come first, before any other target, list it in
BUILT_SOURCES.  However, using BUILT_SOURCES has a (small) performance


reply via email to

[Prev in Thread] Current Thread [Next in Thread]