[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Including a file at make-time instead of automake-time
From: |
Tim Bocek |
Subject: |
Including a file at make-time instead of automake-time |
Date: |
Fri, 24 Oct 2008 11:20:18 -0600 |
Hi,
I kind of an autotools novice and have a problem with using the include
directive in make and automake. I need to generate an include file at make
time, so this file is not available when I run automake. My problem is that
if I use
include dep.mak
in Makefile.am, automake barfs because the file doesn't exist. But, if I
use
-include dep.mak
in Makefile.am, automake works fine but make fails silently if for some
reason dep.mak can't be built.
Is there any way to tell automake to defer including the file to when make
is run?
Thanks
-Tim Bocek
- Including a file at make-time instead of automake-time,
Tim Bocek <=