Sha256: e7b9fc80785161ece61b56319fda786c344bf49b66ba8fae47cdcfe4de6824ed
Contents?: true
Size: 804 Bytes
Versions: 10
Compression:
Stored size: 804 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) # 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
10 entries across 10 versions & 3 rubygems