The R Project SVN R

Rev

Rev 38794 | Rev 43767 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 38794 Rev 38855
Line -... Line 1...
-
 
1
#-*- Makefile -*-
1
include ../MkRules
2
include ../MkRules
2
 
3
 
3
ifdef DEBUG
4
ifdef DEBUG
4
  DEBUGFLAG=$(G_FLAG)
5
  DEBUGFLAG=$(G_FLAG)
5
  LINKFLAGS=
6
  LINKFLAGS=
6
else
7
else
7
  DEBUGFLAG=
8
  DEBUGFLAG=
8
  LINKFLAGS=-s
9
  LINKFLAGS=-s
9
endif
10
endif
10
 
11
 
11
CFLAGS=-Wall
12
CFLAGS=-Wall -O2 -pedantic
12
 
13
 
13
rtest-CFLAGS=-I.. -I../../include $(DEBUGFLAG)
14
rtest-CFLAGS=-I.. -I../../include $(DEBUGFLAG)
14
Rtest.exe: rtest.o R.dll Rblas.dll
15
Rtest.exe: rtest.o R.dll Rblas.dll
15
	$(CC) $(LINKFLAGS) -o $@ rtest.o R.dll
16
	$(CC) $(LINKFLAGS) -o $@ rtest.o R.dll
16
 
17