[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Makefile structure



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://rtems.rtems.org/pipermail/rtems-users/attachments/20071223/daeb2af4/attachment.html