Make and '#'

Andre van Dalen andre at targon.UUCP
Tue May 14 17:53:03 AEST 1991


In article <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
  >by make. I tried everything I know about quoting (on shell-level), nothing
  >worked. Is there any way to put '#' into my macro? (If of interest, I'm
  >using Apollo Domain/OS 10.3)

For me works
FCFLAGS=... -W0,-inline,$(H),-type

together with the command line

make H=\# all

-- 
The mail|    AAA         DDDD  It's not the kill, but the thrill of the chase.
demon...|   AA AAvv   vvDD  DD        Ketchup is a vegetable.
hits!.@&|  AAAAAAAvv vvDD  DD                    {nixbur|nixtor}!adalen.via
--more--| AAA   AAAvvvDDDDDD    Andre van Dalen, uunet!hp4nl!targon!andre



More information about the Comp.unix.questions mailing list