Makefile structure

John Pickwick john.pickwick at free.fr
Sun Dec 23 09:57:05 UTC 2007


Hi,
a general question about the makefile structure logic in RTEMS.
I want to define a macro in all my compilation directives. I use RTEMS4.7.1 with Cygwin/Eclipse and the associated makefile structure (folders and leafs makefile with one final executable).
What is the recommended way to do that ?
I defined a "CMYFLAGS=xxxxxx" in the make command line but then I need to add it ($(CMYFLAGS)) in CFLAGS in all the makefiles that must use it.

Is there a better way to do that ?

Best regards,

John.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20071223/daeb2af4/attachment.html>


More information about the users mailing list