The R Project SVN R

Rev

Rev 48160 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

#-*- Makefile -*-

include ../../gnuwin32/MkRules

all: makeMakedeps libbz2.a

CPPFLAGS=-I../../include
CFLAGS= $(OPTFLAGS)

CSOURCES= blocksort.c huffman.c crctable.c randtable.c bzcompress.c \
          decompress.c bzlib.c
OBJS=$(CSOURCES:.c=.o)

libbz2.a: $(OBJS)

clean:
    $(RM) *.o *~ *.d Makedeps
distclean: clean
    @$(RM) libbz2.a

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

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

-include Makedeps