automake
[Top][All Lists]
Advanced

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

Re: Built header in different dir?


From: Tom Tromey
Subject: Re: Built header in different dir?
Date: 09 Apr 2001 09:58:54 -0600

>>>>> "Lars" == Lars J Aas <address@hidden> writes:

Lars> BUILT_SOURCES = header.h
Lars> # build $(BUILT_SOURCES) before entering subdirs
Lars> Makefile: $(BUILT_SOURCES)

Note this will only work with GNU make and is relatively bad besides.
Eg, try `make clean' and watch it rebuild the header first...

With the cvs automake you can reorder the build so that `.' is built
first:

    SUBDIRS = . subdir

This will have the desired effect.

Tom



reply via email to

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