Message-ID: <366c6f340911151845w75c4443j848d4edf986e7aa@mail.gmail.com>
Date: 2009-11-16T02:45:24Z
From: Peng Yu
Subject: How to generate dependency file that can be used by gnu make?
gcc has options like -MM, which can generate the dependence files for
a C/C++ file that I can be used by gnu make. I'm wondering if there is
a tool that can generate dependence file for an R script.
For example, I have an R script test.R
#########test.R
load('input.RData')
save.image('output.RData')
I want to generate a dependence file like the following. Is there a
tool to do so?
output.RData:test.R input.RData