lets say I am doing mk “target” to build something. Is it possible to pass an argument to it?
i.e. mk “target” “x” and it will do things accordingly? I know that I will be providing mk “target” an argument and I know its semantics, just dont know the name well in advance.
Possible?
You might want to make use of GNU Make’s “Variables”:
You didn’t explain what you’re trying to accomplish, so it’s hard to know what kind of “argument” you’re after.