[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DOS gnu Make automatic variable / implicit rule question

From: Klett, Michael
Subject: DOS gnu Make automatic variable / implicit rule question
Date: Wed, 16 Mar 2005 17:29:40 -0700

Hello list,

I'm trying to use a gnu makefile for what I think should be a simple straight forward sort of thing.  I want to set up an implicit rule that dos the following:

If "" is newer than "foo.out" then run the DOS command "fubar foo".  I set up my rule thusly:

%.out :
        ./fubar $%

I enter the following command at my DOS prompt:

make foo.out -n

and what I get out of it is the command:


and not what I desired, that is:

./fubar foo

Thanks in advance for any insight you can provide.  Also, for my own future reference, is there an e-mail archive somewhere that I could search?  I doubt I'm the first person to look for this information and I really hate bugging everyone.

Thanks again,

Michael F. Klett
Maxtor Corporation
MS:  BC 122
2452 Clover Basin Drive
Longmont, CO  80503
Direct:  303-678-3166;  Fax:  303-702-4376

reply via email to

[Prev in Thread] Current Thread [Next in Thread]