http://kiryl.livejournal.com/ ([identity profile] kiryl.livejournal.com) wrote in [personal profile] metaclass 2010-03-10 03:27 pm (UTC)

Вы ж сами себе хотели геморроя. Получите. Распишетесь.

$ cat Makefile
A1 = a\ file\ with\ spaces yet\ another\ file\ with\ spaces
A2 = $(subst /,\ ,$(foreach filename,$(subst \ ,/,$(A1)),$(filename).txt))

all: $(A2)

$(A2):
echo test > "$@"

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting