Displaying 1 result from an estimated 1 matches for "objr".
Did you mean:
obj
2005 Jan 14
2
Porting from Linux to Windows
...ce
code. This is the Makefile (the relevant target is winlib):
---
RHOME="C:/Program Files/R/rw1090"
SOURCE=lambert.c
OBJ=lambert.o brent.o nrutil.o pcr.o
#CFLAGS=-I/usr/lib/R/include -g -O2
CFLAGS+=-I${RHOME}/src/include -mno-cygwin
CFLAGS+=-I/usr/lib/R/include -g -O2
OBJT=${OBJ} test.o
OBJR=${OBJ} pcr-R.o
${OBJ} : ${SOURCE}
# cc -I/usr/lib/R/include -o $@.o $@.c
test : test.o ${OBJ}
cc -g -o test ${OBJT} -lc -lm
lib : ${OBJR}
cc -o pcr.so ${OBJR} -lc -lm -shared
# we may not use ld because the -mno-cygwin cannot be passed
# which is required
winlib : ${OBJR}
cc -mno-cygwin -o...