The R Project SVN R

Rev

Rev 18149 | Rev 18818 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

#-*- Makefile -*-
include ../gnuwin32/MkRules

all: makeMakedeps ../gnuwin32/libmain.a

CFLAGS=$(OPTFLAGS) -I../include -DHAVE_CONFIG_H -DR_DLL_BUILD
FFLAGS=$(OPTFLAGS)
CSOURCES=$(filter-out alloca.c snprintf.c strdup.c vsnprintf.c, $(wildcard *.c))
FSOURCES=$(wildcard *.f)
OBJS=$(CSOURCES:.c=.o) $(FSOURCES:.f=.o) 

gram.c: ;

saveload-CFLAGS=-I../extra/xdr
connections-CFLAGS=-I../extra/zlib
dounzip-CFLAGS=-I../extra/zlib

../gnuwin32/libmain.a: $(OBJS)

# Dependencies
DEPS=$(CSOURCES:.c=.d)

makeMakedeps: $(DEPS)
    @$(RM) Makedeps
    @cat $(DEPS) >> Makedeps

-include Makedeps