Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!.POSTED!not-for-mail From: espie@lain.home (Marc Espie) Newsgroups: comp.std.c++ Subject: Re: A preprocessor feature we should have had 40 years ago Date: Wed, 5 Jun 2013 23:12:48 -0700 (PDT) Organization: Nerim -- xDSL Internet Provider Lines: 36 Sender: std-cpp-request@vandevoorde.com Approved: james.dennett@gmail.com Message-ID: References: <5444b5db-2bba-4b3a-a3ae-522607837c5c@g9g2000yqh.googlegroups.com> <51ACB83B.9080903@verizon.net> Reply-To: espie@nerim.net NNTP-Posting-Host: Z/2PTh/n3tXCZUk+Hx8QxNIqRgAnJHDYU4jpXA2j7BM= X-Trace: news.albasani.net NTHruTAFhmb4aiJwkGbcK1jTbPbcZpaPsi7dunTGl7/opvkNf2uVT6ZxRMTEaty89X532S3U7vFHT7lpKOhGJQ== X-Complaints-To: abuse@albasani.net NNTP-Posting-Date: Thu, 6 Jun 2013 06:12:50 +0000 (UTC) X-Mailer: Perl5 Mail::Internet v2.05 X-Submission-Address: std-cpp-submit@vandevoorde.com Cancel-Lock: sha1:QVV5+CgY6QM00mU7u4TrxgA3BNU= X-Original-Date: Wed, 5 Jun 2013 11:41:02 +0000 (UTC) Xref: csiph.com comp.std.c++:634 In article <51ACB83B.9080903@verizon.net>, James Kuyper wrote: > >On 06/01/2013 04:04 AM, Paul D. DeRocco wrote: >... >> the program with, or source for the executable tool; and then you have >> to provide a customized makefile for the program that includes the >> appropriate rule, which presumes the use of a particular make utility >> since they're not standardized the way the language is. > >Some make utilities are standardized; POSIX make, for instance. Of >course, that won't do you much good if your target platform doesn't >conform to POSIX, but it's not the absence of a standard that's the >problem; it's the fact that many systems haven't adopted it. make is probably *the* example tool that's standardized in such a fuzzy way as to be interpreted any which way. POSIX talks about parallel makes, but does not define all that much. POSIX talks about % being "reserved", but does not describe the corresponding suffix rules. A lot of fairly common, and almost universal extensions, are not standardized, the most prominent being VPATH and .PHONY... I suspect there are almost no posix-compliant makes out there. Not fully. They all come with some extensions, and they all forego some part of the current POSIX standard. -- [ comp.std.c++ is moderated. To submit articles, try posting with your ] [ newsreader. If that fails, use mailto:std-cpp-submit@vandevoorde.com ] [ --- Please see the FAQ before posting. --- ] [ FAQ: http://www.comeaucomputing.com/csc/faq.html ]