Sha256: a1ed70517ad5018f9a6e68ca4004d7d9f8de58924a14bbc614d66a0a45d981ef

Contents?: true

Size: 725 Bytes

Versions: 3

Compression:

Stored size: 725 Bytes

Contents

CC=gcc
# replace the following with wherever you have installed libzmq
INCDIR=-I/code/include -I.
LIBDIR=-L/code/lib
CFLAGS=-Wall -Os -g -DDLL_EXPORT $(INCDIR)

OBJS = \
	zbeacon.o \
	zclock.o \
	zconfig.o \
	zctx.o \
	zfile.o \
	zframe.o \
	zhash.o \
	zlist.o \
	zloop.o \
	zmsg.o \
	zmutex.o \
	zsocket.o \
	zsockopt.o \
	zstr.o \
	zsys.o \
	zthread.o

%.o: ../../src/%.c
	$(CC) -c -o $@ $< $(CFLAGS)

all: libczmq.dll czmq_selftest.exe

libczmq.dll: $(OBJS)
	gcc -shared -o $@ $(OBJS) -Wl,--out-implib,$@.a $(LIBDIR) -lzmq -lws2_32 -liphlpapi

# the test functions are not exported into the DLL
czmq_selftest.exe: czmq_selftest.o $(OBJS)
	gcc -o $@ $^ $(LIBDIR) -lzmq -lws2_32 -liphlpapi
	
clean:
	del *.o *.a *.dll *.exe

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rbczmq-1.7.1 ext/czmq/builds/mingw32/Makefile.mingw32
rbczmq-1.7.0 ext/czmq/builds/mingw32/Makefile.mingw32
rbczmq-1.6.4 ext/czmq/builds/mingw32/Makefile.mingw32