Hello,

I am having a problem with such a rule:
(I want to get dependencies of 'prj-Executable' from file
./Executable/Makefile.dep)

all: prj-Executable

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

I get the following error:
/usr/bin/cat: %/Makefile.dep: No such file or directory

I tried to use $(shell) as a part of function:
readdeps=$(shell cat -s $(1)/Makefile.dep)
prj-%: $(call readdeps, %)
       $(MAKE) -C $@

but it doesn't help :(

Is there a way to do what I want?

I am testing with a win32 build of v3.80

-- 
Kind regards,
Eugals



_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to