automake
[Top][All Lists]
Advanced

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

Re: Subdir prerequisites


From: Benoit Sigoure
Subject: Re: Subdir prerequisites
Date: Wed, 26 Dec 2007 00:13:03 +0100

On Dec 25, 2007, at 6:15 PM, Jan Engelhardt wrote:

On Dec 25 2007 17:58, Jan Engelhardt wrote:
in a simple Makefile.am with

        SUBDIRS = foo
        bin_PROGRAMS = bar

how can I achieve that bar will be compiled before operation descends
into foo/?

Nevermind, just found it in the info pages :)
Something as simple as
        SUBDIRS = . foo
sounds like it could create an infinite recursion, but well, it does work.

It won't create an infinite recursion. When you don't list `.' in SUBDIRS, it's implicitly listed last.

Cheers and merry Christmas!

--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory






reply via email to

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