Date: Sat, 9 May 1998 10:23:23 +0200 (SAT) From: Robert Nordier <rnordier@iafrica.com> To: chuckr@glue.umd.edu (Chuck Robey) Cc: FreeBSD-hackers@FreeBSD.ORG Subject: Re: Make Message-ID: <199805090823.KAA04497@ceia.nordier.com> In-Reply-To: <Pine.BSF.3.96.980508173511.22970t-100000@localhost> from Chuck Robey at "May 8, 98 05:37:19 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Chuck Robey wrote:
> Anybody know if BSD4.4 make has, at any time, used the "#" symbol for
> anything else _except_ the introduction of the comment? I have someone
> telling me that it was used in early 4.4 to introduce the "include", I'm
> very skeptical about this, and I'd like anyone who can tell me for
> certain to let me know, thanks.
This was true of earlier versions of make (originally PMake), which
supported cpp-like #if, #undef, #include, etc. directives.
You can still find some traces in the source. For example, in parse.c,
Parse_File(), see the logic preceding the lines
if (*line == '#') {
/* If we're this far, the line must be a comment. */
goto nextLine;
}
Incidentally, /usr/share/doc/psd/12.make documents the '#' rather than
the '.' forms.
--
Robert Nordier
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805090823.KAA04497>
