On 06/27/2012 10:47 PM, Nick Bowler wrote:
> Hello David,
>
> On 2012-06-27 18:13 +0200, David Sveningsson wrote:
>> I'm having some problems when generating source files. I have written a
>> tool which generates both a c source-file, a header and dependencies of
>
Hi,
I'm having some problems when generating source files. I have written a
tool which generates both a c source-file, a header and dependencies of
the source, all at the same time using a single command.
After stripping of the flags my rules basically look like this:
SUFFIXES = .foo
app
her hack either.
What is the normal way to handle such situations? I mean, I can't be the
first to have this problem.
I was thinking something like a flag to configure which would set
pkgdatadir to ${top_srcdir) but it doesn't seem to be available at that
time as it always turns o
Andreas Schwab skrev:
David Sveningsson <[EMAIL PROTECTED]> writes:
Hi, I am having some problems with conditional sources. This is what I
have in Makefile.am:
lib_LTLIBRARIES = libfoo.la
libfoo_la_SOURCES = foo.cpp
if WANT_BAR
libfoo_la_SOURCES += a.cpp
else
libfoo_la_S
John Calcote skrev:
David Sveningsson wrote:
Hi, I am having some problems with conditional sources. This is what I
have in Makefile.am:
lib_LTLIBRARIES = libfoo.la
libfoo_la_SOURCES = foo.cpp
if WANT_BAR
libfoo_la_SOURCES += a.cpp
else
libfoo_la_SOURCES += b.cpp
endif
AM_CPPFLAGS
get even the
above code to generate a correct makefile but obviously I am doing
something wrong.
--
//*David Sveningsson [eXt]*
Freelance coder | Game Development Student
http://sidvind.com
Thou shalt make thy program's purpose and structure clear to thy fellow
man by using the One True