[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Gert Jan van Loo
Thu, 20 Mar 2008 09:24:47 -0700
I try to generate a Verilog include file list using:
INC_DIRS = +incdir+\
I find this failing because 'make' does not honour the backslash code at
the end of the line
as any other program: It adds a space!
So the result is:
This is NOT accepted by the tool. It needs:
I have several problems with this:
1/ Adding the space is NOT the normal convention used for the backslash
in other programs.
2/ If I want to have a space I can just add it before the backslash. So
there is a
simple solution to anybody who wants a space. This in contrast to the
current state where
I now have to contort myself to remove the spaces again.
(Which I still have not found how to do, Probably some complex
3/ I have tried to search the info-text but not found this listed
In fact the \ at the end of the line is used in examples, shortly
commented upon and
further ignored as something which is 'self-evident'.
I assume this 'feature' will not be removed as it will break the
all simple souls who are not competent enough to add a space in the
I DO suggest to add this to the manual somewhere and explain in more
details the processing
which takes place when a backslash is at the end of a line:
It adds one space if it is missing and it reduces multiple spaces and
tabs to a single space.
I also suggest you specify how to get rid of these nasty spaces in case
anybody does not want them.
Is this a relic from the original 'make'?
I don't have access to an old Unix machine or Make manual so I can't
- Unexpected feature,
Gert Jan van Loo <=