The R Project SVN R

Rev

Rev 35751 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

include ../MkRules

ifdef DEBUG
  DEBUGFLAG=-g
  LINKFLAGS=
else
  DEBUGFLAG=
  LINKFLAGS=-s
endif

LIBS=-L.. $(LIBUNICOWS) -lR
CFLAGS=-Wall

rtest-CFLAGS=-I.. -I../../include
Rtest.exe: rtest.o R.dll Rblas.dll
    $(CC) -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