help-make
[Top][All Lists]
Advanced

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

can't compute prerequisites in static pattern rule


From: Evgeny Sologubov
Subject: can't compute prerequisites in static pattern rule
Date: Tue, 16 Dec 2003 10:38:35 +0300

Hello,

I am having a problem with such a rule:

all: prj-Main

prj-%: $(shell cat -s %/Makefile.dep)
       $(MAKE) -C $*

make (a win32 build of v3.80) says:
/usr/bin/cat: %/Makefile.dep: No such file or directory
:(

I expected that it shall be expanded to the following:
prj-Main: $(shell cat -s Main/Makefile.dep)
       $(MAKE) -C $*

Is there a way to do what I want?

-- 
Kind regards,
 Evgeny





reply via email to

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