From ligges at statistik.tu-dortmund.de  Mon Dec 19 16:38:48 2011
From: ligges at statistik.tu-dortmund.de (Uwe Ligges)
Date: Mon, 19 Dec 2011 16:38:48 +0100
Subject: [Rd] Issues with building package with C src on windows [R CMD
 INSTALL ignoring makefile]
In-Reply-To: <04504571-13CA-47CC-8BC9-11ED1CA6653B@gmail.com>
References: <04504571-13CA-47CC-8BC9-11ED1CA6653B@gmail.com>
Message-ID: <4EEF5A88.20701@statistik.tu-dortmund.de>



On 19.12.2011 16:30, Jonathan Shore wrote:
> I've written a rather complex package that requires overriding the default compilation behavior for the C code component.   In the src dir I have a Makefile that is used correctly on OSX and Linux builds of the package, but completely ignored on windows.
>
> R CMD INSTALL<package>
>
> on windows runs Makeconf instead of running make on my Makefile.    If run make in the src directory manually on windows, the shared library compiles.
>
> How can I get the INSTALL command to look for the Makefile?    I am building on R 2.14.0 on a win 7 vm.


See Writing R Extensions that tells you to write a

Makefile.win

which is used under Windows.

Best,
Uwe Ligges


>
> Thanks
> Jonathan
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] Issues with building package with C src on windows [R CMD INSTALL ignoring makefile]
Uwe Ligges