From: Andrew Lunn <andrew@lunn.ch>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@lists.open-mesh.org>
Cc: Marek Lindner <lindner_marek@yahoo.de>
Subject: Re: [B.A.T.M.A.N.] [RFC] batman-adv: Move build compat stuff to Makefile
Date: Thu, 24 Nov 2011 14:26:48 +0100 [thread overview]
Message-ID: <20111124132648.GC6836@lunn.ch> (raw)
In-Reply-To: <1323728.0ybshCSZ9s@sven-laptop.home.narfation.org>
> I would be even happier when we also could remove the '#include "compat.h"'
> from main.h somehow, but I had no good (and working) idea.
Hi Sven
Could you build solution using the gcc option:
-include file
Process file as if #include "file" appeared as the first line of
the primary source file.
Pass this when compiling out of tree by appending it to CFLAGS? The
hard thing is the ordering. compat.h will be first, before all other
header files.
Andrew
next prev parent reply other threads:[~2011-11-24 13:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-24 10:40 [B.A.T.M.A.N.] [RFC] batman-adv: Move build compat stuff to Makefile Sven Eckelmann
2011-11-24 13:01 ` Marek Lindner
2011-11-24 13:18 ` Sven Eckelmann
2011-11-24 13:26 ` Andrew Lunn [this message]
2011-11-24 13:30 ` Sven Eckelmann
2011-11-24 13:18 ` Marek Lindner
2011-11-24 13:32 ` Sven Eckelmann
2011-11-26 13:18 ` Marek Lindner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111124132648.GC6836@lunn.ch \
--to=andrew@lunn.ch \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=lindner_marek@yahoo.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox