The R Project SVN R

Rev

Rev 47175 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
38855 ripley 1
#-*- Makefile -*-
50921 ripley 2
 
3
## this is for Win32, no import libs
4
 
4684 ripley 5
include ../MkRules
6
 
43767 ripley 7
LINKFLAGS=-Wl,--stack=0xA00000
4684 ripley 8
ifdef DEBUG
38642 ripley 9
  DEBUGFLAG=$(G_FLAG)
4684 ripley 10
else
11
  DEBUGFLAG=
43767 ripley 12
  LINKFLAGS+=-s
4684 ripley 13
endif
14
 
38855 ripley 15
CFLAGS=-Wall -O2 -pedantic
4684 ripley 16
 
47175 ripley 17
rtest-CFLAGS=-I.. -I../../include -I../../../include $(DEBUGFLAG)
43767 ripley 18
Rtest.exe: rtest.o
47175 ripley 19
	$(CC) $(LINKFLAGS) -o $@ rtest.o -L../../../bin -lR -lRgraphapp
4684 ripley 20
 
5191 ripley 21
rtest.c: ../../include/Rversion.h
4684 ripley 22
 
23
clean:
43767 ripley 24
	$(RM) rtest.o Rtest.exe *~
4684 ripley 25
 
26