Makefile: Space Character in Assignments

2009-04-01 Thread Hamed Janzadeh
Hi, Last night I found a very cruel bug in GNU make that led to a costly experience for me. Hence, I decided to report it and to help others not to repeat my experiment. In a Makefile, and in assignment operations, the space character after the value is included to the value by `make'.

Re: Makefile: Space Character in Assignments

2009-04-01 Thread Paul Smith
On Tue, 2009-03-31 at 23:59 -0500, Hamed Janzadeh wrote: Last night I found a very cruel bug in GNU make that led to a costly experience for me. Hence, I decided to report it and to help others not to repeat my experiment. In a Makefile, and in assignment operations, the space character

Re: Makefile: Space Character in Assignments

2009-04-01 Thread agentzh
2009/4/1 Hamed Janzadeh janza...@gmail.com This problem is so cruel because you can not see the space character after the `value' and A workaround we're using is letting vim to highlight line-trailing spaces. It should be trivial for other mature text editor as well ;) Hope this helps,