+--On 27 juillet 2015 11:55:24 +0200 Alexander Leidinger <alexan...@leidinger.net> wrote: | testtarget: | .if defined(${QUOTED_VAR}) && ${QUOTED_VAR} == "test" | echo works | .endif
No. If you run "make QUOTED_VAR=test testtarget" this will evaluate as: testtarget: .if defined(test) && test == "test" echo works .endif and of course, test is not defined. You want to write: testtarget: .if defined(QUOTED_VAR) && ${QUOTED_VAR} == "test" echo works .endif -- Mathieu Arnold
pgpNdOpAfAPiJ.pgp
Description: PGP signature