gnu make separator problem with commands only
Hi,
This is my first post on these forums, usually my questions are answered before i post :) but not this one, so hopefully someone can shed some light on this for me. everything on the pc has been installed from kubuntu repositories, no others, and is the current release for 9.04 with all updates applied. Code:
jayse@mercury:~$ echo "echo \"hello.\"" > newfile I've seen threads suggesting issues with cr/lf pairs but i think my example rules that out. i've also seen a couple of posts showing LANG to be the issue, but mine appear to be ok. Code:
jayse@mercury:~$ make -p | grep LANG You are my last hope obi-wan. ;) Jayse Code:
jayse@mercury:~$ uname -a |
You need a target and, most of all, you need tabs for indentation instead of spaces.
It does that for me with your code too, so it's not your make, it's your syntax. Code:
atom@saturn /home/atom/dev $ cat dummymake |
Thanks for the superfast reply. I just tried the indentation and target bits and heres my results..
Code:
jayse@mercury:~$ cat dummymake Jayse |
Ignore me, i boobed.
i NEED the tab. then it works as you already demonstrated. thanks |
I'm glad you were able to resolve the issue.
And, in case you haven't noticed, there's a thanks button on the bottom right of posts of other people. If you click it, I get bragging rights :). Regards, Gašper |
All times are GMT -5. The time now is 09:24 PM. |