include ../MkRules ifdef DEBUG DEBUGFLAG=-g LINKFLAGS= else DEBUGFLAG= LINKFLAGS=-s endif LIBS=-L../../../lib $(LIBUNICOWS) -lR CFLAGS=-Wall rtest-CFLAGS=-I.. -I../../include $(DEBUGFLAG) Rtest.exe: rtest.o R.dll Rblas.dll $(CC) $(LINKFLAGS) -o $@ rtest.o R.dll rtest.c: ../../include/Rversion.h R.dll: ../R.dll $(CP) -p $^ $@ Rblas.dll: ../../../bin/Rblas.dll $(CP) -p $^ $@ clean: $(RM) rtest.o Rtest.exe *~ R.dll