The R Project SVN R

Rev

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

Rev 6478 Rev 6994
Line -... Line 1...
-
 
1
#-*- Makefile -*-
1
all:  $(DLLNAME).dll
2
all:  $(DLLNAME).dll
2
 
3
 
3
SOURCES=$(wildcard -f *.c *.f)
4
SOURCES=$(wildcard -f *.c *.f)
4
OBJSA=$(foreach i,$(SOURCES),$(basename $i).o)
5
OBJSA=$(foreach i,$(SOURCES),$(basename $i).o)
5
 
6
 
6
include ../../../gnuwin32/MkRules
7
include $(RHOME)/src/gnuwin32/MkRules
7
 
8
 
8
ifdef DEBUG
9
ifdef DEBUG
9
  DLLFLAGS=
10
  DLLFLAGS=
10
  DEBUGFLAG=-g -Wall
11
  DEBUGFLAG=-g -Wall
11
else
12
else
12
  DLLFLAGS=-s
13
  DLLFLAGS=-s
13
  DEBUGFLAG=-Wall
14
  DEBUGFLAG=-Wall
14
endif
15
endif
15
 
16
 
16
CFLAGS=-I../../../include -include ../../../include/globalvar.h $(DEBUGFLAG) -O2
17
CFLAGS=-I$(RHOME)/src/include -include $(RHOME)/src/include/globalvar.h $(DEBUGFLAG) -O2
17
FFLAGS=-O2 $(DEBUGFLAG)
18
FFLAGS=-O2 $(DEBUGFLAG)
18
DLLLIBS=-L../../../gnuwin32  $(FLIBS) -lR 
19
DLLLIBS=-L$(RHOME)/src/gnuwin32  $(FLIBS) -lR 
19
 
20
 
20
 
21
 
21
#ifeq ($(PKG),modreg)
22
#ifeq ($(PKG),modreg)
22
#  FFLAGS+=-ffloat-store
23
#  FFLAGS+=-ffloat-store
23
#endif 
24
#endif