Added R/RMINC, and Makefile for building/exporting