Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (21 sloc) 0.773 kB
excludes = lr_test spde_aniso spde
rfiles = $(basename $(wildcard *.R))
cppfiles = $(basename $(wildcard *.cpp))
all_examples = $(filter $(rfiles), $(cppfiles))
examples = $(filter-out $(excludes), $(all_examples))
outputfiles = $(examples:=.output.RData)
profiletargets = $(examples:=.profile)
%.output.RData : %.R %.cpp
unset MAKEFLAGS; example=$(basename $<) R --slave < tools/unittest.R
all: $(outputfiles)
make report
$(all_examples) : % : %.output.RData
report:
R --slave < tools/unittest.R
clean :
rm -rf *.o *.so *~ core *.output.RData Rplots.pdf *.profile
%.profile : %.R %.cpp
example=$(basename $<) R --slave < tools/profiler.R
%.logpid : %.R %.cpp
example=$(basename $<) R --slave < tools/logpid.R
profile_all: $(outputfiles) $(profiletargets)
Jump to Line
Something went wrong with that request. Please try again.