Sha256: e14eab37a2994e080c1e4da42a1c808f2725df4a006641a77c3f2b0bc7e89163
Contents?: true
Size: 848 Bytes
Versions: 8
Compression:
Stored size: 848 Bytes
Contents
CC=gcc # replace the following with wherever you have installed libzmq PREFIX=c:/mingw/msys/1.0/local INCDIR=-I$(PREFIX)/include -I. LIBDIR=-L$(PREFIX)/lib CFLAGS=-Wall -Os -g -DDLL_EXPORT $(INCDIR) OBJS = \ zauth.o \ zbeacon.o \ zcert.o \ zcertstore.o \ zchunk.o \ zclock.o \ zconfig.o \ zctx.o \ zdir.o \ zfile.o \ zframe.o \ zhash.o \ zlist.o \ zloop.o \ zmsg.o \ zmutex.o \ zpoller.o \ zsocket.o \ zsockopt.o \ zstr.o \ zsys.o \ zthread.o \ ztree.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
8 entries across 8 versions & 1 rubygems