Makefile structure

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

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,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list