|
From: | Harvey Werner |
Subject: | RE: DOS gnu Make automatic variable / implicit rule question |
Date: | Wed, 16 Mar 2005 16:46:32 -0800 |
Try using $* instead of $%. That should give you the stem of the target.
-- Harvey Werner PolyServe, Inc.
-----Original Message-----
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 "foo.in" is newer than "foo.out" then run the DOS command "fubar foo". I set up my rule thusly: %.out : %.in make foo.out -n and what I get out of it is the command: ./fubar 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 |
[Prev in Thread] | Current Thread | [Next in Thread] |