[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Recursive source inclusion
From: |
LCID Fire |
Subject: |
Recursive source inclusion |
Date: |
Fri, 05 Dec 2008 22:50:18 +0100 |
User-agent: |
Thunderbird 2.0.0.18 (X11/20081125) |
Another try - maybe someone shows some mercy and answers my question
I have a directory structure:
src
|---gtk
| |---gtkapp.c
| |---Makefile.am
|
|---core.c
|---Makefile.am
I'd like to use automake to build this.
The Makefile.am residing in the gtk directory looks like:
bin_PROGRAMS = gtkapp
gtkapp_SOURCES = gtkapp.c
What I'd like to do is to include core.c in the gtkapp build - but NOT
by directly adding it to gtkapp_SOURCES (I can give a good explanation
why - but it would ruin the simplicity of the example).
I already know that using a variable does not work.
I thought that maybe putting
SOURCES = core.c
into the root Makefile.am could work - but it does not. There HAS to be
a way to achieve this - but the docs are very bleak on recursive issues.
- Recursive source inclusion,
LCID Fire <=