Why would I want to remove (rm) the file. I am trying to compile it.
For the file hello2.c
/* hello.c: display a message on the screen */
#include <stdio.h>
main()
{
printf("hello, world\n");
}
I used gcc hello2.c and it works fine.
But fort eh file hello.c
#include <R.h>
void hello(int *n)
{
int i;
for(i=0; i < *n; i++) {
Rprintf("Hello, world!\n");
}
}
I try R CMD SHLIB hello.c and I ge tthe error
make: Nothing to be done for `all'.
Why does one compile and the other not?
--
View this message in context:
http://r.789695.n4.nabble.com/make-Nothing-to-be-done-for-all-tp2173220p2195341.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.