This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problem with make


You can do :

1) put the remark in the line before.
   in such case no trilling balnks are added to the macro.
2) if you are using GNU make , there is  a function called strip, so you
   can do:
 	$(strip $(hehe))/mine.h


     Avraham

-------------------------------------
Avraham H. Fraenkel 

comMATCH: www.comMATCH.com
-------------------------------------

On Tue, 15 Aug 2000, Brian Pollard wrote:

> when using a make file, assignment statements such as:
> 
> 	hehe=.           #some comment
> 
> 	$(hehe)/mine.h
> hehe stores ".            " instead of "./"
> 
> this causes problems when accessing something such as:
> 
> 
> because it is interpreted as ".           /mine.h"
> 
> 
> I would guess that the source code needs to be modified, any suggestions???
> 
> Thanks,
> 	Brian
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]