Problem with subdirectory

2007-07-27 Thread wingri
Hello, I`ve got project and source codes are in direcory. Then, there are some other source codes in subdirectory of this directory. Now, from file in directory I want to call function from file in subdirectory. Project is quite big, there are Makefiles for whole project, for my directory and fo

Re: %-style pattern rules

2007-07-27 Thread Ralf Wildenhues
Hello Lorenzo, * Lorenzo Bettini wrote on Fri, Jul 27, 2007 at 05:18:48PM CEST: > > and what if I need two files (with two different extensions) depend on a > single file? That is not possible portably, i.e., with inference rules. So either you can just choose to rely on GNU make, or write one

Re: %-style pattern rules

2007-07-27 Thread Lorenzo Bettini
BeN [F1233 121D312] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lorenzo Bettini wrote: about rules of the shape, e.g., %.txt: %.tt how else could I implement those make rules? I guess so called old-fashioned style of implicit rules would do: e.g: .SUFFIXES: .txt .tt all: t.txt