[Top][All Lists]

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

Writing a rule

From: Stefan
Subject: Writing a rule
Date: Wed, 7 Dec 2011 23:46:39 +0100

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,address@hidden@],$(CRB_RSCRIPT),g' \
  -e 's,address@hidden@],Generated from address@hidden; do not edit by hand.,g'

        rm -f $@ address@hidden
        $(do_subst) $(srcdir)/address@hidden >address@hidden
        chmod +x address@hidden
        chmod a-w address@hidden
        mv -f address@hidden $@

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



reply via email to

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