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
makefile.patch (920 Bytes)