Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!mcsun!unido!mcshh!abqhh!uwesa!heiko From: heiko@uwesa.hanse.de (Heiko Weber jun.) Newsgroups: comp.unix.questions Subject: Re: Make and '#' Message-ID: Date: 9 May 91 10:00:39 GMT References: <470@mailgzrz.tu-berlin.de> Lines: 24 jaenicke@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) Put '#' into a file (foo.bar in the example), and change the line above to FOOBAR=`cat foo.bar` FCFLAGS = ... -W0,-inline,$(FOOBAR),-type ... on Esix, it works. Heiko -- | Heiko Weber jun. | heiko@uwesa.hanse.de | private unix site | +------------------+----------------------+-------------------+ | D-2151 Sauensiek | Loehe 3 | Germany | voice: 049-4169-1366 |