Hi there,

I'm still trying to write my Automakefile… I'm stuck in adding a few extra 
dependencies to my target. What I have is:

do_subst = sed \
  -e 's,[@]RSCRIPT[@],$(CRB_RSCRIPT),g' \
  -e 's,[@]configure_input[@],Generated from [email protected]; do not edit by hand.,g'

.R:
        rm -f $@ [email protected]
        $(do_subst) $(srcdir)/[email protected] >[email protected]
        chmod +x [email protected]
        chmod a-w [email protected]
        mv -f [email protected] $@

Now each of the *.R files depends on its source and a library fun.R… how do i 
get fun.R into the rule?

greetings,

stefan

Reply via email to