AUX_SRC_LIB = daniel2/
R_INTERF = R_Interface/

PKG_LIBS = -lgsl -lgslcblas
# -> If needed, specify the location of the gsl static libraries here using the -L argument. For example:
#PKG_LIBS = -Lc:/Rtools/local/lib -lgsl -lgslcblas
PKG_CPPFLAGS = -I. -DUSING_R -DHAVE_INLINE
# -> If needed, specify the location of the header files here using the -I argument. For example
#PKG_CPPFLAGS = -I. -DUSING_R -Ic:/Rtools/local/include 


SUP_OBJ = $(AUX_SRC_LIB)R_Environ_Simple.o $(AUX_SRC_LIB)CChain.o \
	$(AUX_SRC_LIB)CParam.o $(AUX_SRC_LIB)CData.o $(AUX_SRC_LIB)CParam_generic.o \
	$(AUX_SRC_LIB)CVariable_Container.o $(AUX_SRC_LIB)dan_array_utils.o
INTERF_OBJ = $(R_INTERF)R_Lcm_CR.o $(R_INTERF)R_Lcm_CR_Strat.o
ACTUAL_OBJ = NPLCM_CR_Basic_Freq.o NPLCM_CR_Strat_Freq.o 
OBJECTS = $(R_INTERF)registration.o $(INTERF_OBJ) $(ACTUAL_OBJ) $(SUP_OBJ)

all: $(SHLIB) 
