3 ms·
No need for ugly sed error-prone trickery. Use on the Makefile: MAKE_TARGET := /some/path And invoke $ make MAKE_TARGET=/other/path
by JetSpiegel 9y ago
No need for ugly sed error-prone trickery.
Use on the Makefile:
MAKE_TARGET := /some/path
And invoke
$ make MAKE_TARGET=/other/path
- lolikoisuru 9y agoHis point was that all of $@, $%, $? have more descriptive names as well, you don't need to use these single character macros. Also you probably meant ?= instead of := as the command you gave would still use /some/path instead of /other/path if you use :=.