Using make with a command which has many command arguments.

I first check if environment,"foo", variable is defined.

ifndef foo
  a=
  b=
  c= default c
endif

command:
        command ${a} ${b} ${c}

I have like 20 more variable. When debugging with make -n , is there a
nice way to add comments? like this

ifndef foo
  a= #a, not defined#
  b= #b, not defined#
  c= default c
endif

Would something like that work?

_______________________________________________
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to