Make and '#'

Ernst de Ridder hnridder at cs.ruu.nl
Thu May 9 00:20:55 AEST 1991


In <470 at mailgzrz.tu-berlin.de> jaenicke at w414zrz.zrz.tu-berlin.de (Lutz Jaenicke) writes:


>In a Makefile I need to define a Makro to a string containing the '#'-sign,
>which is the comment-sign for make:
>FCFLAGS = ... -W0,-inline,#,-type ...
>
>Since '#' is the comment-sign, the '#' and all following stuff is suppressed
If in a makefile: "FCFLAGS = ... -W0,-inline,\#,-type ..." should work

>by make. I tried everything I know about quoting (on shell-level), nothing 
In a shell, try: "FCFLAGS = ... -W0,-inline,\\\#,-type ..."
(This ends up in the environment as ....\#....)

Hope to have helped,
	Ernst
-- 
popa
iret

Qualitas qualitatem inducit.  Semper ego qualitatem.
-------------------------------------------------------------------------------
Ernst de Ridder                     (student) | Email: hnridder at cs.ruu.nl
Dept. of Computer Science, Utrecht University | Fido: Ernst de.Ridder
UUCP: !mcsun!hp4nl!ruuinf!praxis!hnridder     |       2:284/203.6
-------------------------------------------------------------------------------

-- 
popa
iret

Qualitas qualitatem inducit.  Semper ego qualitatem.



More information about the Comp.unix.questions mailing list