[Rinside-commits] r220 - pkg/inst/examples/standard
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Dec 7 16:50:37 CET 2011
Author: edd
Date: 2011-12-07 16:50:36 +0100 (Wed, 07 Dec 2011)
New Revision: 220
Modified:
pkg/inst/examples/standard/Makefile.win
Log:
windows makefile tweaks for example
Modified: pkg/inst/examples/standard/Makefile.win
===================================================================
--- pkg/inst/examples/standard/Makefile.win 2011-12-07 05:47:21 UTC (rev 219)
+++ pkg/inst/examples/standard/Makefile.win 2011-12-07 15:50:36 UTC (rev 220)
@@ -6,9 +6,10 @@
## proper configure for non-Debian file locations, [ Done ]
## allow RHOME to be set for non-default R etc
-## comment this out if you need a different version of R,
-## and set set R_HOME accordingly as an environment variable
-#R_HOME := $(shell R RHOME)
+## This version is fairly directly derived from the Unix versions
+## You may have to set R_HOME manually if this does not work
+## It requires Rtools in the path -- as does all R package building
+R_HOME := $(shell R RHOME | sed -e "s|\\\\|\/|g")
sources := $(wildcard *.cpp)
programs := $(sources:.cpp=)
@@ -44,3 +45,6 @@
clean:
rm -vf $(programs)
+
+checkR:
+ echo "R is at $(R_HOME)"
\ No newline at end of file
More information about the Rinside-commits
mailing list