[riot-devel] custom CFLAGS ignored?

Benjamin Valentin benpicco at zedat.fu-berlin.de
Fri Jul 19 19:39:13 CEST 2013


Hi,
I wanted to switch to the 'new' Makefile format as it's used in e.g.
project/tlayer, but now I can't add custom CFLAGS anymore.
When I do export CFLAGS = -DRIOT or CFLAGS += -DRIOT nothing changes
(#ifdef RIOT blocks are not compiled)

I've also tried adding a CFLAGS += -DRIOT to Makefile.include but with
no success.

Also, I'd suggest adding an optional list of external modules to
Makefile.include, see patch

Benjamin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makefile.patch
Type: text/x-patch
Size: 920 bytes
Desc: not available
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20130719/6dde1e54/attachment.bin>


More information about the devel mailing list