help-make
[Top][All Lists]
Advanced

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

vpath problem


From: Krzysztof Horecki
Subject: vpath problem
Date: Fri, 01 Jun 2001 08:36:10 +0200

Hi all,

I have a following configuration in my makefile:

VPATH=../gs ../ad 

%.o: %.c 
        <...>

%_xdr.c: %.x
        <...>

the problem is that whenever there is a newer %.x file, an %_xdr.c file
will be produced in the current directory, but I want to have it there
where %.x file was. How to accoplish this? 

Something like ../$(MODULE)/%_xdr.c: %.x ; <...> does not work.

Kilu

-- 
============================
AutoForm Engineering GmbH
Technoparkstrasse 1
CH-8005 Zürich / Switzerland

Tel: +41 1 445 2121
Fax: +41 1 445 2122
www.autoform.ch
============================



reply via email to

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