Sha256: 0369bb5b0579437599cf3c009a7b274055ddcd271dd02f511fd8fa338e386200

Contents?: true

Size: 808 Bytes

Versions: 9

Compression:

Stored size: 808 Bytes

Contents

###############################################################################
#
# Simplied Makefile to build the minizip objects for the libxlsxwriter library.
#

# Keep the output quiet by default.
Q=@
ifdef V
Q=
endif

UNAME := $(shell uname -sr)

# Check for MinGW/MinGW64/Cygwin environments.
ifneq (,$(findstring MINGW, $(UNAME)))
MING_LIKE = y
endif
ifneq (,$(findstring MSYS, $(UNAME)))
MING_LIKE = y
endif
ifneq (,$(findstring CYGWIN, $(UNAME)))
MING_LIKE = y
endif

FPIC = -fPIC
CFLAGS += -O3 -DNOCRYPT -DNOUNCRYPT

# Change make options on MinGW/MinGW64/Cygwin.
ifdef MING_LIKE
FPIC =
CC = gcc
CFLAGS += -DUSE_FILE32API
endif

all: ioapi.o zip.o  ioapi.so zip.so

%.o  : %.c
	$(Q)$(CC)         -c $(CFLAGS) $<

%.so : %.c
	$(Q)$(CC) $(FPIC) -c $(CFLAGS) $< -o $@

clean:
	$(Q)/bin/rm -f *.o *.so

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
xlsxwriter-0.2.2 ext/xlsxwriter/libxlsxwriter/third_party/minizip/Makefile
xlsxwriter-0.2.1.pre.2 ext/xlsxwriter/libxlsxwriter/third_party/minizip/Makefile
xlsxwriter-0.2.1.pre ext/xlsxwriter/libxlsxwriter/third_party/minizip/Makefile
xlsxwriter-0.2.0 ext/xlsxwriter/libxlsxwriter/third_party/minizip/Makefile
xlsxwriter-0.2.0.pre.2 ext/xlsxwriter/libxlsxwriter/third_party/minizip/Makefile
xlsxwriter-0.2.0.pre ext/xlsxwriter/libxlsxwriter/third_party/minizip/Makefile
xlsxwriter-0.1.2.pre ext/xlsxwriter/libxlsxwriter/third_party/minizip/Makefile
xlsxwriter-0.1.1 ext/xlsxwriter/libxlsxwriter/third_party/minizip/Makefile
xlsxwriter-0.1.0 ext/xlsxwriter/libxlsxwriter/third_party/minizip/Makefile