[Omake] error when defining a rule inside of a function

Erick Tryzelaar erickt at dslextreme.com
Sat Jan 13 12:06:18 PST 2007


Erick Tryzelaar wrote:
> Hmm, this led me to a stack overflow, with this OMakefile:

Here's a smaller file that still has the Stack_overflow:

OMakefile:
comflags(sources) =
    return $(sources)

make-rule(target, sources) =
    $(target):
        echo $(comflags $(sources))
    return $(target)

.DEFAULT: $(make-rule cmain, foo)


More information about the Omake mailing list