[Top][All Lists]

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

Source files in different directory?

From: Paul Elliott
Subject: Source files in different directory?
Date: Sat, 25 Jun 2011 05:05:54 -0500
User-agent: KMail/1.13.5 (Linux/2.6.35-28-generic; KDE/4.5.5; i686; ; )

I need to keep my source files (i.e. .c and .h ) in a different directory tree 
from the one that contains the autotools control files and the build directory.

That is, when building X.o or X.lo I need to tell it to always find the source 
file as
../other/src/X.c not ./X.c. I do not control the contents of the ../other/src/ 
so I can not create any Autotools control files there or any object files there.
To me, that directory is read only.

Is there a way to do this conveniently in automake? An implicit rule perhaps?

Thank You.

Paul Elliott                               1(512)837-1096
address@hidden               PMB 181, 11900 Metric Blvd Suite J   Austin TX 78758-3117

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

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