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