help-make
[Top][All Lists]
Advanced

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

long command line arguments


From: Keith Brown
Subject: long command line arguments
Date: Fri, 9 Mar 2018 07:04:20 -0500

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?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]