Rev 4394 | Blame | Last modification | View Log | Download | RSS feed
all: $(DLLNAME).dllSOURCES=$(wildcard -f *.c *.f)OBJSA=$(foreach i,$(SOURCES),$(basename $i).o)include ../../../gnuwin32/MkRulesifdef DEBUGDLLFLAGS=DEBUGFLAG=-gelseDLLFLAGS=-sDEBUGFLAG=endifCFLAGS=-I../../../include -include ../../../include/globalvar.h $(DEBUGFLAG) -O2FFLAGS=-O2DLLLIBS=-L../../../gnuwin32 $(FLIBS) -lR#ifeq ($(PKG),gee)# OBJS-NO = gee.sa.o gee_i.o#endif#ifeq ($(PKG),WaveThresh)# OBJS-NO = Sconvolve.o#endif#ifeq ($(PKG),akima)# OBJS-NO = ttidbs.o#endififeq ($(PKG),locfit)CFLAGS+=-Dlgamma=lgammafnendififeq ($(PKG),survival4)survreg-CFLAGS=-include ../../../include/Platform.hendififeq ($(PKG),rmutil)iv-CFLAGS+=-Dgamma=gammafn -Dlgam=lgammafndist-CFLAGS+=-include ../../../include/Platform.hendififeq ($(PKG),event)ksurvb-CFLAGS+=-include ../../../include/Platform.hksurvg-CFLAGS+=-include ../../../include/Platform.hendififeq ($(PKG),gnlm)dist-CFLAGS+=-include ../../../include/Platform.hendififeq ($(PKG),repeated)kcountb-CFLAGS+=-include ../../../include/Platform.hendififeq ($(PKG),stable)CFLAGS+=-include ../../../include/Platform.hendifAA=$(wildcard Makefile)ifeq ($(AA),Makefile)include MakefileelseOBJS=$(filter-out $(OBJS-NO),$(OBJSA))endif$(DLLNAME).a: $(OBJS) #$(RM) -f $@$(AR) cr $@ *.o$(RANLIB) $@$(DLLNAME).dll : $(DLLNAME).a