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'.

Wrong error message 'No rule to make target' instead of 'makefile not found'

2009-04-01 Thread bestellrep1
Please keep my email-address confidential, as I don't want to get spam. The command (1) make elf gives the result make: *** No rule to make target `elf'. Stop. when no makefile exists. The command (2) make -f mmm aaa gives the result make: mmm: No such file or directory make: *** No

Re: Wrong error message 'No rule to make target' instead of 'makefile not found'

2009-04-01 Thread Paul Smith
On Wed, 2009-04-01 at 09:52 +0200, bestellrep1 wrote: Please keep my email-address confidential, as I don't want to get spam. Sorry, but this is a mailing list. Anyone can subscribe. Plus it's archived in numerous places, all of which are publicly available and searchable. The command (1)

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,