Makefile:How to use cat command
I am making a Makefile where i am doing this
empty:= comma:=, space:= $(empty) $(empty) text:=a b c all: text1=$(subst $(space),$(comma),$(text)) Now i want to write the value of text1 in a file result in current directory so i write this $(cat >&result<<text1) but this is not working. What code should i write to get the result. |
Something like
Code:
$(cat test1 > result) Code:
$(cat test1 >> result) |
All times are GMT -5. The time now is 02:01 AM. |