automake
[Top][All Lists]
Advanced

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

Possibly silly INCLUDEDIR question


From: Michael Still
Subject: Possibly silly INCLUDEDIR question
Date: Tue, 7 Aug 2001 21:25:51 +1000

Hey,

this is possibly a silly question, but I can't find an answer in the
autotools book, or online.

I have a project with a directory layout like this:

Makefile.am
*.c
panda/*.h
examples/Makefile.am
examples/*.c

When I make the code, the examples c files fail to find the headers in
../panda/. The c files in the source directory work ok, because the
current directory is added to the include path by the autotools. I can't
just add .. to the include path, because this doesn't deal with the case
when the code is built somewhere else on disk.

Any hints?

Thanks,
Mikal

-- 

Michael Still (address@hidden)




reply via email to

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