Sha256: 2b91633c32a9adecb8f4d58356fdbb7e45ba82d97ec4b574e100c876c7aa7e2a

Contents?: true

Size: 721 Bytes

Versions: 1

Compression:

Stored size: 721 Bytes

Contents

###############################################################################
#
# Simplied Makefile to build the emyg_dtoa library for libxlsxwriter.
#

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

UNAME := $(shell uname)

# 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

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

all: emyg_dtoa.o emyg_dtoa.so

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fast_excel-0.5.0 libxlsxwriter/third_party/dtoa/Makefile