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

Re: [MiNT] mintlib Makefile requires bash as shell



Eero Tamminen wrote:
I mean makefile "variables" are constants that can't be reaffected by the
command part of the rules.

Sorry, still don't understand.  Can you give an example?

$ cat Makefile
RESULT = false
all:
        RESULT = true

$ make
RESULT = true
make: RESULT: Command not found
make: *** [all] Error 127


RESULT is a "makefile variable", it can't be assigned during the execution of "make" (or maybe there is another syntax).

--
Vincent Rivière