#!/bin/sh
#
# C:/> sh 00_make.win
#

CC=`${R_HOME}/bin${R_ARCH_BIN}/R CMD config CC`
FC=`${R_HOME}/bin${R_ARCH_BIN}/R CMD config FC`
FLIBS=`${R_HOME}/bin${R_ARCH_BIN}/R CMD config FLIBS`

${CC} -c *.c
${FC} -c *.f
${CC} -o xintface *.o ${FLIBS}

./xintface
rm -f *.o xintface
