🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #2369

Re: MakeFile probleempje

#2369
From: Lieven Marchand
Date: Fri, 02 Jul 2004 12:55
44 lines
2495 bytes
Bart Vandewoestyne <MyFirstName.MyLastName@telenet.be> writes:

> In article <87n02kp5h7.fsf@just.fgov.be>, Lieven Marchand wrote:
>> Bart Vandewoestyne <MyFirstName.MyLastName@telenet.be> writes:
>> 
>>> Bestaan er automatische variabelen die me foobar in plaats van
>>> foobar.tex geven, of zal ik dit op een nog andere manier moeten
>>> oplossen?
>> 
>> $(<F)
>
> Hmmm.. tenzij we hier met een character encoding probleempje zitten
> werkt die 'dollarteken rondhaakje kleiner_dan F rondhaakje' toch niet
> hoor.  Wat wel bleek te werken is het volgende:
>
> $*
>
> Zijnde 'dollarteken sterretje'.
>
> Of was het dat wat je bedoelde en zijn je karakters gewoon niet goed
> doorgekomen in mijn slrn? :-)

$(<F) is misschien een gnu-ism. Uit de GNU Make info file:

`$*'
     The stem with which an implicit rule matches (*note How Patterns
     Match: Pattern Match.).  If the target is `dir/a.foo.b' and the
     target pattern is `a.%.b' then the stem is `dir/foo'.  The stem is
     useful for constructing names of related files.

en verder op

`$(<D)'
`$(<F)'
     The directory part and the file-within-directory part of the first
     prerequisite.

Ik had dus wel je bedoeling niet helemaal door.

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Technical Details
Message-ID: <87isd6po01.fsf@just.fgov.be>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!syros.belnet.be!ikaria.belnet.be!news.belnet.be!not-for-mail
References: <1088596078.808274@seven.kulnet.kuleuven.ac.be> <87n02kp5h7.fsf@just.fgov.be> <1088667795.961070@seven.kulnet.kuleuven.ac.be>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcea4,baebf72900f6f85
X-Google-Attributes: gidfcea4,public
X-Google-Language: DUTCH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!syros.belnet.be!ikaria.belnet.be!news.belnet.be!not-for-mail
From: Lieven Marchand <mal@wyrd.be>
Newsgroups: be.comp.programming
Subject: Re: MakeFile probleempje
Date: Fri, 02 Jul 2004 14:55:26 +0200
Organization: BELNET - The Belgian Research Network
Lines: 44
Message-ID: <87isd6po01.fsf@just.fgov.be>
References: <1088596078.808274@seven.kulnet.kuleuven.ac.be> <87n02kp5h7.fsf@just.fgov.be>
 <1088667795.961070@seven.kulnet.kuleuven.ac.be>
NNTP-Posting-Host: just.customer.just.fedman.be
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: ikaria.belnet.be 1088772846 5818 193.191.206.59 (2 Jul 2004 12:54:06 GMT)
X-Complaints-To: abuse@belnet.be
NNTP-Posting-Date: Fri, 2 Jul 2004 12:54:06 +0000 (UTC)
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through
 Obscurity, linux)
Cancel-Lock: sha1:XlTV/LLwjQ2RvtBIHKYaV5njY04=